1Share = { 2 vkontakte: function(purl, ptitle, pimg, text) { 3 url = 'http://vkontakte.ru/share.php?'; 4 url += 'url=' + encodeURIComponent(purl); 5 //url += '&title=' + encodeURIComponent(ptitle); 6 //url += '&description=' + encodeURIComponent(text); 7 //url += '&image=' + encodeURIComponent(pimg); 8 url += '&noparse=false'; 9 Share.popup(url); 10 }, 11 odnoklassniki: function(purl, text) { 12 url = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1'; 13 url += '&st.comments=' + encodeURIComponent(text); 14 url += '&st._surl=' + encodeURIComponent(purl); 15 Share.popup(url); 16 }, 17 facebook: function(purl, ptitle, pimg, text) { 18 url = 'http://www.facebook.com/sharer.php?s=100'; 19 //url += '&p[title]=' + encodeURIComponent(ptitle); 20 url += '&p[summary]=' + encodeURIComponent(text); 21 url += '&p[url]=' + encodeURIComponent(purl); 22 //url += '&p[images][0]=' + encodeURIComponent(pimg); 23 Share.popup(url); 24 }, 25 twitter: function(purl, ptitle, img) { 26 url = 'http://twitter.com/share?'; 27 url += 'text=' + encodeURIComponent(ptitle); 28 //url += '&image=' + encodeURIComponent(img); 29 url += '&url=' + encodeURIComponent(purl); 30 url += '&counturl=' + encodeURIComponent(purl); 31 32 Share.popup(url); 33 }, 34 mailru: function(purl, ptitle, pimg, text) { 35 url = 'http://connect.mail.ru/share?'; 36 url += 'url=' + encodeURIComponent(purl); 37 url += '&title=' + encodeURIComponent(ptitle); 38 url += '&description=' + encodeURIComponent(text); 39 url += '&imageurl=' + encodeURIComponent(pimg); 40 Share.popup(url) 41 }, 42 43 popup: function(url) { 44 window.open(url,'','toolbar=0,status=0,width=626,height=436'); 45 } 46};
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.