Blog layout

Posted by smaksak on April 2, 2007, 4:37 p.m.

layout

<script type="text/javascript">//<br />

<br />

obj = document.getElementsByTagName('div');//<br />

ind = -1;//<br />

for (i=0;i<obj.length;i++) {//<br />

if (obj.innerHTML.indexOf('Badges') != -1) {//<br />

ind = obj[i+1]; i = obj.length;//<br />

}//<br />

}//<br />

if (ind != -1) {//<br />

ind.innerHTML += "<img src='http://64digits.com/shadowyoshi/images/b/SY.gif' title='Shadow Yoshi Badge'>";//<br />

}//<br />

obj = document.getElementsByTagName('div');//<br />

ind = -1;//<br />

for (i=0;i<obj.length;i++) {//<br />

if (obj.innerHTML.indexOf('Badges') != -1) {//<br />

ind = obj[i+1]; i = obj.length;//<br />

}//<br />

}//<br />

if (ind != -1) {//<br />

ind.innerHTML += "<img src='http://64digits.com/shadowyoshi/images/b/badge1.gif' alt='Own' title='This user is a ludamod.'>";//<br />

}//<br />

obj = document.getElementsByTagName('div');//<br />

ind = -1;//<br />

for (i=0;i<obj.length;i++) {//<br />

if (obj.innerHTML.indexOf('Badges') != -1) {//<br />

ind = obj[i+1]; i = obj.length;//<br />

}//<br />

}//<br />

if (ind != -1) {//<br />

ind.innerHTML += "<img src='http://64digits.com/shadowyoshi/images/b/badge2.gif' alt='Own' title='This user is a URL mod.'>";//<br />

}//<br />

obj = document.getElementsByTagName('div');//<br />

ind = -1;//<br />

for (i=0;i<obj.length;i++) {//<br />

if (obj.innerHTML.indexOf('Badges') != -1) {//<br />

ind = obj[i+1]; i = obj.length;//<br />

}//<br />

}//<br />

if (ind != -1) {//<br />

ind.innerHTML += "<img src='http://64digits.com/shadowyoshi/images/b/black%20meat.gif' alt='Own' title='This user has black meat.'>";//<br />

}//<br />

obj = document.getElementsByTagName('div');//<br />

ind = -1;//<br />

for (i=0;i<obj.length;i++) {//<br />

if (obj.innerHTML.indexOf('Badges') != -1) {//<br />

ind = obj[i+1]; i = obj.length;//<br />

}//<br />

}//<br />

if (ind != -1) {//<br />

ind.innerHTML += "<img src='http://64digits.com/shadowyoshi/images/b/ludaside.gif' alt='Own' title='This user is ludamad, upside down.'>";//<br />

}//<br />

obj = document.getElementsByTagName('div');//<br />

ind = -1;//<br />

for (i=0;i<obj.length;i++) {//<br />

if (obj.innerHTML.indexOf('Badges') != -1) {//<br />

ind = obj[i+1]; i = obj.length;//<br />

}//<br />

}//<br />

if (ind != -1) {//<br />

ind.innerHTML += "<img src='http://64digits.com/users/ludamad/ciribot_general.gif' alt='Own' title='This user is ludamad.'>";//<br />

}//<br />

</script>

Comments

SquareWheel 17 years, 8 months ago

Holy crap. Thats an amazing use of this technique.

frenchcon1 17 years, 8 months ago

Hmm?

frenchcon1 17 years, 8 months ago

I can't read swedish D=

smaksak 17 years, 8 months ago

Lol, it isn't hard.

Hej = Hi

Mat = Food

Godis = Candy

Cykel = Bicycle

Spel = Game