1 2 3 4 5 6/* 7 FILE ARCHIVED ON 0:29:55 Apr 20, 2007 AND RETRIEVED FROM THE 8 INTERNET ARCHIVE ON 20:43:07 Jun 16, 2015. 9 JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. 10 11 ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. 12 SECTION 108(a)(3)). 13*/ 14// /web/20070420002955/http://www.quirksmode.org/js/selected.html 15function sociable_get_selection() { 16 if (window.getSelection) 17 return "" + window.getSelection(); 18 else if (document.getSelection) 19 return "" + document.getSelection(); 20 else if (document.selection) 21 return "" + document.selection.createRange().text; 22} 23 24function sociable_description_link(link, attribute) { 25 if (typeof(link.original_link) == "undefined") 26 link.original_link = link.href; 27 link.href = link.original_link + "&" + attribute + "=" + sociable_get_selection(); 28 return false; 29}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.