PageSourceSearch

https://www.studio-lokon.ru/wp-content/plugins/wp-social-likes/js/custom-buttons.js?ver=6.4.2

js studio-lokon.ru collected 2026-10-02 20:25:10 UTC 1,754 bytes, 61 lines download raw bytes

1var socialLikesButtons = {
2	livejournal: {
3		click: function(e) {
4			var html = this.widget.data('html')
5				.replace(/{url}/g, this.options.url)
6				.replace(/{title}/g, this.options.title)
7				.replace(/&/g, '&')
8				.replace(/"/g, '"');
9
10			var form = jQuery('.sociallikes-livejournal-form').first();
11
12			form.attr({
13				action: 'http://www.livejournal.com/update.bml',
14				method: 'post',
15				target: '_blank',
16				'accept-charset': 'UTF-8'
17			}).html(jQuery('<input/>', {
18				type: 'hidden',
19				name: 'mode',
20				value: 'full'
21			})).append(jQuery('<input/>', {
22				type: 'hidden',
23				name: 'subject',
24				value: this.options.title
25			})).append(jQuery('<input/>', {
26				type: 'hidden',
27				name: 'event',
28				value: html
29			})).submit();
30		}
31	},
32	linkedin: {
33		counterUrl: 'https://www.linkedin.com/countserv/count/share?url={url}',
34		counter: function(jsonUrl, deferred) {
35			var options = socialLikesButtons.linkedin;
36			if (!options._) {
37				options._ = {};
38				if (!window.IN) window.IN = {Tags: {}};
39				window.IN.Tags.Share = {
40					handleCount: function(params) {
41						var jsonUrl = options.counterUrl.replace(/{url}/g, encodeURIComponent(params.url));
42						options._[jsonUrl].resolve(params.count);
43					}
44				};
45			}
46			options._[jsonUrl] = deferred;
47			jQuery.getScript(jsonUrl).fail(deferred.reject);
48		},
49		popupUrl: 'https://www.linkedin.com/shareArticle?mini=false&url={url}&title={title}',
50		popupWidth: 650,
51		popupHeight: 500
52	},
53	email: {
54		click: function(e) {
55			var mailtoUrl = 'mailto:?subject={subject}&body={body}'
56				.replace('{subject}', this.options.title)
57				.replace('{body}', this.options.url);
58			window.location.href = mailtoUrl;
59		}
60	}
61};

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.