javascript:a=prompt('Font:','Verdana');e=' style="background:';b='';for(i=32;i<256;i++){b+='
'+i+';
'+i+'
'+((i+1)/16==parseInt((i+1)/16)?'
':'')};d=open('','c','scrollbars=1,height=500,width=740').document.write('
ASCII table: 14px '+a+'
'+b+'
')
javascript:t=document.getElementsByTagName(prompt('Tags:','td'));a=prompt('Style attribute:','fontSize'),v=prompt('Style value:','11px');for(i=0;i
javascript:alert('charCap\n\nŠ Thomas Russell\n\nhttp://users.bigpond.net.au/tamago/\n\n(Text areas now limited to 1024 letters).');x=document.getElementsByTagName('textarea');for(i=0;i
1024){v.value=v.value.substring(0,1024)};status='Chars used: '+v.value.length+'/1024'})}
javascript:a=prompt('Enter cookie to delete:','');if(!a)a='';b=document.cookie.split('; ');c=false;for(i=0;i
javascript:h=prompt('Enter (case sensitive) string to replace:','');a=new RegExp(h,'');b=prompt('Enter replacement:',h);e=0;function f(w){var i,c=w.frames;for(i=0;i
javascript:q=prompt('Search
for:','');if(q){void(window.open('http://dictionary.reference.com/search?q='+q,'_blank','height=500,left=50,scrollbars=1;top=50,width=700'))}
javascript:document.write('
makeLink: '+window.location+'
Link:
'+window.location+'
(To save, right click on link and select \'Save Target As\')')
javascript:open('','','height=360,left=100,top=80,width='+(screen.width-200)).document.write('
moreCode
Run code
')
javascript:function f(w){var i;for(i=0;i
javascript:a=0;b=new RegExp(prompt('Current price:',''),'');c=prompt('Preferred price:','');d=document;e=d.links;for(i=0;i
0?'Total changes made: '+a:'Price not found. Page may be in frames/not vulnerable to this exploit.')
javascript:a=prompt('Enter value to display:','document.URL');alert('Value of \''+a+'\' is:\n\n'+eval(a))
javascript:open().document.write('Cookies available to
'+document.URL+'
:
'+(!document.cookie?'None.':document.cookie.split('; ').join('
'))+'')
javascript:function f(w,s,g){var i,q='';for(i=0;i
'+s+' ('+(w.name?'\''+w.name+'\'':'Not named')+'):
'+w.location+'
\n'+q)};open().document.write('
'+location+'
'+f(top,'top','')+'
')
javascript:a=[];b='';x=0;function f(w){var i,e=w.frames;for(i=0;i
'+a[i]+'
';open().document.write('Sorted links: '+document.URL+'
'+b+'
')
javascript:a=[];x=0;function f(w){var i,e=w.frames;for(i=0;i
'+a[k]+''};open().document.write('Images from '+top.location+c+'')
javascript:window.open().document.write('
innerHTML: '+document.URL+'
'+document.documentElement.outerHTML.replace(/<\/TEXTAREA>/gi,'womble')+'')
javascript:u=prompt('Enter a URL:',location);if(u){void(location='view-source:'+u)}
Bookmarklets
I wrote the bookmarklets below - I hope you find them useful!