Re: "Iconoclastic"? - stupid web tricks...

Date view Thread view Subject view Author view

From: Kragen Sitaker (
Date: Tue Nov 14 2000 - 14:54:13 PST

OK, here's a set of dictionary bookmarklets that works in MSIE5 and
NS4. So now the 85% of you out there using MSIE can appreciate this:

Same window:
<a href="javascript:d=document;location='*&Database=*&Form=Dict1&Query='+escape(d.layers?d.getSelection():d.selection.createRange().text)">Lookup</a>

Three new windows:
<a href="javascript:d=document;q=escape(d.layers?d.getSelection():d.selection.createRange().text);void'*&Database=*&Form=Dict1&Query='+q);void''+q);void''+q)/*kjs*/">Lookup</a>

<>       Kragen Sitaker     <>
Perilous to all of us are the devices of an art deeper than we ourselves
                -- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]

Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Nov 17 2000 - 18:17:50 PST