PageSourceSearch

http://colory.ru/jquery/bookmarks.js

js colory.ru collected 2026-10-02 13:23:57 UTC 3,001 bytes, 55 lines download raw bytes

1
2
3function addFavorite()
4{
5 var url = location.href;
6 var title = document.title;
7
8 if (navigator.appName.indexOf('Microsoft Internet') != -1)
9	window.external.AddFavorite(url, title);
10 else if (navigator.appName.indexOf('Netscape') != -1) 
11	window.sidebar.addPanel(title, url, "");
12 else 
13	alert("Нажмите CTRL-D, чтобы добавить страницу в закладки.");
14}
15
16
17
18
19document.write('<center><table cellpadding="0" cellspacing="0" border="0" width="300"><tr><td valign="top" width="30">');
20
21document.write('<g:plusone size="medium"></g:plusone>');
22document.write('<script type="text/javascript">window.___gcfg = {lang: \'ru\'};  (function() {');
23document.write('var po = document.createElement(\'script\'); po.type = \'text/javascript\'; po.async = true;');
24document.write('po.src = \'https://apis.google.com/js/plusone.js\';');
25document.write('var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(po, s);');
26document.write('})();</scr' + 'ipt>');
27
28document.write('</td><td valign="top" style="padding-right: 20px;">');
29
30document.write(VK.Share.button(false,{type: "round", text: "Сохранить"}));
31
32document.write('</td><td valign="top">');
33
34document.write('<a href="https://twitter.com/share" class="twitter-share-button">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>');
35
36document.write('</td><td valign="top" >');
37
38document.write('<div id="fb-root"></div>');
39document.write('<script>(function(d, s, id) {');
40document.write('  var js, fjs = d.getElementsByTagName(s)[0];');
41document.write('  if (d.getElementById(id)) return;');
42document.write('  js = d.createElement(s); js.id = id;');
43document.write('  js.src = "//connect.facebook.net/ru_RU/all.js#xfbml=1";');
44document.write('  fjs.parentNode.insertBefore(js, fjs);');
45document.write('}(document, \'script\', \'facebook-jssdk\'));</script>');
46document.write('<div class="fb-like" data-send="false" data-layout="button_count" data-width="150" data-show-faces="true"></div>');
47
48document.write('</td><td ><nobr>');
49
50document.write('<a counter="yes" type="icon" size="small" name="ya-share"> </a><script charset="utf-8" type="text/javascript">if (window.Ya && window.Ya.Share) {Ya.Share.update();} else {(function(){if(!window.Ya) { window.Ya = {} };Ya.STATIC_BASE = \'http:\/\/yandex.st\/wow\/2.5.2\/static\';Ya.START_BASE = \'http:\/\/my.ya.ru\/\';var shareScript = document.createElement("script");shareScript.type = "text/javascript";shareScript.async = "true";shareScript.charset = "utf-8";shareScript.src = Ya.STATIC_BASE + "/js/api/Share.js";(document.getElementsByTagName("head")[0] || document.body).appendChild(shareScript);})();}</scr' + 'ipt>');
51
52document.write('</nobr></td></tr></table></center><br />');
53
54
55

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.