HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/dragonexpert.com/wp-content/plugins/wp-social-likes/js/custom-buttons.js
var socialLikesButtons = {
	livejournal: {
		click: function(e) {
			var html = this.widget.data('html')
				.replace(/{url}/g, this.options.url)
				.replace(/{title}/g, this.options.title)
				.replace(/&/g, '&')
				.replace(/"/g, '"');

			var form = jQuery('.sociallikes-livejournal-form').first();

			form.attr({
				action: 'http://www.livejournal.com/update.bml',
				method: 'post',
				target: '_blank',
				'accept-charset': 'UTF-8'
			}).html(jQuery('<input/>', {
				type: 'hidden',
				name: 'mode',
				value: 'full'
			})).append(jQuery('<input/>', {
				type: 'hidden',
				name: 'subject',
				value: this.options.title
			})).append(jQuery('<input/>', {
				type: 'hidden',
				name: 'event',
				value: html
			})).submit();
		}
	},
	linkedin: {
		counterUrl: 'http://www.linkedin.com/countserv/count/share?url={url}',
		counter: function(jsonUrl, deferred) {
			var options = socialLikesButtons.linkedin;
			if (!options._) {
				options._ = {};
				if (!window.IN) window.IN = {Tags: {}};
				window.IN.Tags.Share = {
					handleCount: function(params) {
						var jsonUrl = options.counterUrl.replace(/{url}/g, encodeURIComponent(params.url));
						options._[jsonUrl].resolve(params.count);
					}
				};
			}
			options._[jsonUrl] = deferred;
			jQuery.getScript(jsonUrl).fail(deferred.reject);
		},
		popupUrl: 'http://www.linkedin.com/shareArticle?mini=false&url={url}&title={title}',
		popupWidth: 650,
		popupHeight: 500
	},
	email: {
		click: function(e) {
			var mailtoUrl = 'mailto:?subject={subject}&body={body}'
				.replace('{subject}', this.options.title)
				.replace('{body}', this.options.url);
			window.location.href = mailtoUrl;
		}
	}
};