Well, given no limitations on the line length, you could write the better part of Firefox in one line :p
Is the contest limited to that search engine site? If not, I'd like to submit my Random WTF bookmarklet from here, until I get a better idea.
URLEncoded (and minorly improved): javascript:%28function%28%29%7Ba%3D%27.XMLHTTP%27%3Bb%3D%27msxml2%27+a%3Ba%3D%5Bb+%27.5.0%27%2Cb+%27.4.0%27%2Cb+%27.3.0%27%2Cb%2C%27Microsoft%27+a%5D%3Br%3DXMLHttpRequest%3Bif%28r%29r%3Dnew%28r%29%28%29%3Belse%20for%28i%3D0%3Bi%3C5%3Bi++%29try%7Bif%28r%3Dnew%28ActiveXObject%29%28a%5Bi%5D%29%29break%7Dcatch%28e%29%7B%7D%3Bif%28%21r%29return%3Bd%3Dfunction%28m%2Cn%29%7Breturn%28m+Math.round%28Math.random%28%29*%28n-m%29%29%29%7D%3By%3Dd%282004%2Cnew%28Date%29%28%29.getFullYear%28%29%29%3Br.open%28%27GET%27%2C%27/Articles/%27+y+%27/%27+d%28y%3D%3D2004%3F5%3A1%2C12%29+%27/default.aspx/%27%29%3Br.onreadystatechange%3Dfunction%28%29%7Bif%28r.readyState%21%3D4%29return%3Bl%3Dr.responseText.match%28/%5C/Articles%5C/%5B%5E%5Cs%5C/%22%5D+%5C.aspx/g%29%3Blocation.href%3D%27http%3A//thedailywtf.com/%27+l%5Bd%280%2Cl.length%29%5D%7D%3Br.send%28%29%7D%29%28%29