Revision: 23921
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 16, 2010 15:58 by vagrantradio
Initial Code
javascript:(function(){if(window.getSelection){t=window.getSelection();}else%20if(document.getSelection){t=document.getSelection();}else%20if(document.selection){t=document.selection.createRange().text;};location.href='http://www.yourdomain.com/?&u='+encodeURIComponent(location.href)+'&t='+t;})();
Initial URL
Initial Description
Passes variables for url and highlighted text.
Initial Title
CROSS BROWSER GETSELECTION BOOKMARKLET
Initial Tags
javascript, link
Initial Language
JavaScript