Because lack of content is a dangerous thing, and people are occasionally interested in this kind of stuff. My bookmarks file, slightly edited:

Bookmarklets

  • Translate
  • Referer
  • Wayback
  • <a href="javascript:var verbsRE=/(b)(i'm|it's|he's|here's|she's|that's|there's|they're|we're|what's|who's|you're|is|are|am|are|was|were|be|being|been|go)(b)/gi;var lyRE=/(w)(ly)(b)/gim;function HL(node){if(node.hasChildNodes){var hi_cn;for(hi_cn=0;hi_cn<node.childNodes.length;hi_cn++){HL(node.childNodes[hi_cn]);}}if(node.nodeType==3){var tempNodeVal=node.nodeValue;if(verbsRE.test(tempNodeVal)){tempNodeVal=tempNodeVal.replace(verbsRE,%22$1$2$3%22);tempNodeVal=tempNodeVal.replace(lyRE,%22$1$2$3%22);newNode=document.createElement(‘span’);newNode.innerHTML=tempNodeVal;pn=node.parentNode;pn.replaceChild(newNode,node);}}}HL(window.document.getElementsByTagName(‘body’)[0]);”>Passivator
  • Random Joke
  • <a href="javascript:(function(){var root=document.getElementsByTagName('html')[0];var mydomtree=processdomnode(root);var newwin=window.open();newwin.document.write('

    DOM tree

    ‘);newwin.document.body.appendChild(mydomtree);function processdomnode(n){if((n.nodeType==3)&amp;&amp;(n.nodeValue.replace(/[ nrt]/g,”).length==0))return;var mynode=document.createElement(‘div’);var mytitle=document.createElement(‘span’);if(n.nodeType==3){mytitle.setAttribute(‘title’,n.nodeValue);mytitle.appendChild(document.createTextNode(n.nodeValue.replace(/^[ ntr]*/g,”).substring(0,4)+’u2026′));mytitle.className=’content’;}else{mytitle.appendChild(document.createTextNode(n.nodeName));}mynode.appendChild(mytitle);for(var i=0;iShow DOM tree

  • <a href="javascript:(function(){var root=document.getElementsByTagName('html')[0];var mydomtree=processdomnode(root);var newwin=window.open();newwin.document.write('

    DOM tree

    ‘);newwin.document.write(‘

    Hide text nodes

    ‘);newwin.document.write(”);newwin.document.body.appendChild(mydomtree);function processdomnode(n){if((n.nodeType==3)&amp;&amp;(n.nodeValue.replace(/[ nrt]/g,”).length==0))return;var mynode=document.createElement(‘div’);var mytitle=document.createElement(‘span’);if(n.nodeType==3){mytitle.setAttribute(‘title’,n.nodeValue);mytitle.appendChild(document.createTextNode(n.nodeValue.replace(/^[ ntr]*/g,”)));mytitle.className=’content’;mynode.className=’content’;}else{mytitle.appendChild(document.createTextNode(n.nodeName));}mynode.appendChild(mytitle);mytitle.referenceNode=n;addEvent(mytitle,’mouseover’,hover);addEvent(mytitle,’mouseout’,unhover);for(var i=0;i4)&amp;&amp;(n.nodeName.toLowerCase()!=’body’))apch.className=’longcn’;mynode.appendChild(apch);}}if((n.childNodes.length>4)&amp;&amp;(n.nodeName.toLowerCase()!=’body’)){var expander=document.createElement(‘a’);addEvent(expander,’click’,dntoggle);expander.href=’#’;expander.appendChild(document.createTextNode(‘+’));expander.className=’expander’;mynode.appendChild(expander);}return mynode;}function addEvent(obj,evType,fn,useCapture){if(obj.addEventListener){obj.addEventListener(evType,fn,useCapture);return true;}else if(obj.attachEvent){var r=obj.attachEvent(‘on’+evType,fn);return r;}}function dntoggle(e){if(window.event)t=window.event.srcElement;if(e&amp;&amp;e.target)t=e.target;if(!t)return;ta=climbDomTree(t,’a’);t=climbDomTree(t,’div’);if(!t)return;minus=’–‘;for(var i=0;iShow DOM Tree II

  • Document Tree Chart
  • /g,’&amp;gt;’).replace(/</g,'&lt;').replace(/%22/g,'&quot;');}var q,h,i,z=open().document;z.write('

    Images linked to by ‘+hE(location.href)+’:


    ‘);for(i=0;q=document.links[i];++i){h=q.href;if(h&amp;&amp;I(h))z.write(‘

    ‘+q.innerHTML+’ (‘+hE(h)+’)
    ‘);}z.close();})()”>linked images

  • <a href="javascript:(function(){ function zoomImage(image, amt) { if(image.initialHeight == null) { /* avoid accumulating integer-rounding error */ image.initialHeight=image.height; image.initialWidth=image.width; image.scalingFactor=1; } image.scalingFactor*=amt; image.width=image.scalingFactor*image.initialWidth; image.height=image.scalingFactor*image.initialHeight; } var i,L=document.images.length; for (i=0;izoom images in
  • go to referrer
  • <a href="javascript:(function(){ function zoomImage(image, amt) { if(image.initialHeight == null) { /* avoid accumulating integer-rounding error */ image.initialHeight=image.height; image.initialWidth=image.width; image.scalingFactor=1; } image.scalingFactor*=amt; image.width=image.scalingFactor*image.initialWidth; image.height=image.scalingFactor*image.initialHeight; } var i,L=document.images.length; for (i=0;izoom images out
  • <a href="javascript:function toc(){var x = document.body.childNodes;var y = document.createElement('div');var title = y.appendChild(document.createElement('span'));title.innerHTML = %22Table of Contents%22;y.id = 'toc';var z = y.appendChild(document.createElement('ul'));y.className=%22list%22;var toBeTOCced = new Array();for (var i=0;i<x.length;i++){if (x[i].nodeName.indexOf('H') != -1 ){toBeTOCced.push(x[i]);}}for (var i=0;iTOC
  • Search Site
  • Subscribe with Bloglines
  • BugMeNot

games

Interesting

Art

food

Music

Visual

Tech

Words

People

Stuff

comics pending

blog this

Code

Python

eclipse

Research &amp; Ref

Stock

media

Computing

WinXP

Theme

Linux

psx emu

ed2k

Mush

food

Quick Access

Leakytap customs

Search Engines

Shopping

Blogging

Encyclopedia

Movies

Music

Dictionary

Thesaurus

Financial

News

Internet Tools

Programming

Open Source

Courier Services

Mozilla Development

Games

Television

Maps

Reference

Books

Medical

Syndication

2004-07-15