Terra Nomad

Every day is like survival. You're my lover, not my rival.

Monday, April 10, 2006

Repeat adventure script for KOL - courtesy of SolarFlare

Originated by Ohayou and working in Firefox:

javascript: function A(w){ if(/hypnotist|baio|crazy
bastard/i.test(w.document.body.innerHTML)) return; var
i,j,r=[],f=w.document.forms[0]; function q(n,v) {
r.push(n+'='+escape(v)) } if(f) {
for(i=0;i<f.length;i++) { with(f.elements[i])
if(type.substring(0,6)=='select') { j=-1;
while(++j<length) if(options[j].selected)
q(name,options[j].value) } else
if(type=='checkbox'||type=='radio'?checked:type!='button'&&type!='reset')
q(name,value); }
i=f.getAttribute('action')+'?'+r.join('&'); } else {
i=w.document.getElementsByTagName('a')[0].getAttribute('href');
if(i.substring(0,9)!='adventure') {
i='campground.php'; n=1; } } if(--n)
with(mainpane.document) { open();
write('<script>charpane={location:
0}</script><frameset cols=*
onLoad=setTimeout("top.A(top.mainpane.x)",50)><frame
name=x src="'+i+'">'); close() } else
mainpane.location=i;
menupane.document.body.firstChild.nodeValue=n||'';
return void 0 } if(n=prompt('Number of clicks?','10')) A(mainpane)


Here is the same type of thing for IE, but I have not tested it yet. It seems to be the work of many different people:
javascript:if(typeof overNover=='function')overNover(); else{(D=document.createElement('script')).setAttribute('src', 'http://users.adelphia.net/~dramatix01/scripts/r.js');void top.document.body.appendChild(D)}

Labels: ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home