PageSourceSearch

https://en-cocker.ru/templates/island_paradise/js/shareTT.js

js en-cocker.ru collected 2026-10-05 00:03:31 UTC 3,187 bytes, 47 lines download raw bytes

1$(document).ready(function() {
2	
3	// Âèäæåò Ñîöèàëüíûõ çàêëàäîê (Test-Templates). v1.2
4	
5	var LinkTitle = $(document).attr('title');
6	
7	var LinkUrl = window.location.href;
8	
9	LinkTitle=encodeURIComponent(LinkTitle);
10	
11	LinkUrl=encodeURIComponent(LinkUrl);
12	
13	
14	// Âñòàâêà áëîêà ñ çàêëàäêàìè
15	$('.ttfav').append('<div id="tt_social"></div>');
16	
17	var leftvar = (screen.width-600)/2;
18	var topvar = (screen.height-400)/2;
19	
20	//Ìàññèâ ññûëîê
21	var LinksItem = [
22	'https://vkontakte.ru/share.php?url='+LinkUrl+'" onClick="popupWin = window.open(this.href, \'contacts\', \'location,width=600,height=400,left='+leftvar+',top='+topvar+'\'); popupWin.focus(); return false;" title="Ïîäåëèòüñÿ ÂÊîíòàêòå"',
23	'https://www.facebook.com/sharer.php?u='+LinkUrl+'&t='+LinkTitle+'" onClick="popupWin = window.open(this.href, \'contacts\', \'location,width=600,height=400,left='+leftvar+',top='+topvar+'\'); popupWin.focus(); return false;" title="Äîáàâèòü â Facebook"',
24	'https://twitter.com/share?text='+LinkTitle+'&url='+LinkUrl+'" onClick="popupWin = window.open(this.href, \'contacts\', \'location,width=600,height=400,left='+leftvar+',top='+topvar+'\'); popupWin.focus(); return false;" title="Äîáàâèòü â Twitter"',
25	'https://www.liveinternet.ru/journal_post.php?action=n_add&cnurl='+LinkUrl+'&cntitle='+LinkTitle+'" onClick="popupWin = window.open(this.href, \'contacts\', \'location,width=600,height=400,left='+leftvar+',top='+topvar+'\'); popupWin.focus(); return false;" title="Äîáàâèòü â LiveInternet"',
26	'https://zakladki.yandex.ru/newlink.xml?url='+LinkUrl+'&name='+LinkTitle+'" onClick="popupWin = window.open(this.href, \'contacts\', \'location,width=600,height=400,left='+leftvar+',top='+topvar+'\'); popupWin.focus(); return false;" title="Äîáàâèòü â ßíäåêñ çàêëàäêè"',
27	'https://connect.mail.ru/share?url='+LinkUrl+'&title='+LinkTitle+'" onClick="popupWin = window.open(this.href, \'contacts\', \'location,width=600,height=400,left='+leftvar+',top='+topvar+'\'); popupWin.focus(); return false;" title="Äîáàâèòü â Ìîé Ìèð"',
28	'https://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl='+LinkUrl+'&title='+LinkTitle+'" onClick="popupWin = window.open(this.href, \'contacts\', \'location,width=600,height=400,left='+leftvar+',top='+topvar+'\'); popupWin.focus(); return false;" title="Äîáàâèòü â Îäíîêëàññíèêè"',
29	'https://www.livejournal.com/update.bml?event='+LinkUrl+'&subject='+LinkTitle+'" onClick="popupWin = window.open(this.href, \'contacts\', \'location,width=600,height=400,left='+leftvar+',top='+topvar+'\'); popupWin.focus(); return false;" title="Äîáàâèòü â ÆÆ"',
30	'https://www.tumblr.com/share" onClick="popupWin = window.open(this.href, \'contacts\', \'location,width=600,height=400,left='+leftvar+',top='+topvar+'\'); popupWin.focus(); return false;" title="Äîáàâèòü â ÆÆ"'
31	];
32	
33	
34	var sdvig = 0;
35	var sdvig2 = 0;
36	
37	// Ïîñòðîåíèå ñïèñêà çàêëàäîê
38	for (i=0; i<LinksItem.length; i++)
39	{
40		var getLinks = $('<a href="'+LinksItem[i]+' style="background: url(https://àäðåñ_ñàéòà/templates/island_paradise/images/tt-fav.png) -'+sdvig+'px top  no-repeat;" target="_blank"></a>');
41		getLinks.appendTo("#tt_social");
42		var sdvig = sdvig + 26;
43		var sdvig2 = sdvig2 + 25;
44	 }
45	});
46
47

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.