| Server IP : 68.178.247.200 / Your IP : 216.73.217.50 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/www/wp-content/plugins/ewww-image-optimizer/includes/ |
Upload File : |
jQuery(document).ready(function($) {
$('#ewww-copy-debug').on( 'click', function() {
selectText('ewww-debug-info');
try {
var successful = document.execCommand('copy');
if ( successful ) {
unselectText();
}
} catch(err) {
console.log('browser cannot copy');
console.log(err);
}
});
function HSregister() {
if (typeof(Beacon) !== 'undefined' ) {
$('.ewww-overrides-nav').on( 'click', function() {
Beacon('article', '59710ce4042863033a1b45a6', { type: 'modal' });
return false;
});
$('.ewww-contact-root').on( 'click', function() {
Beacon('navigate', '/ask/')
Beacon('open');
return false;
});
$('.ewww-docs-root').on( 'click', function() {
Beacon('navigate', '/answers/')
Beacon('open');
return false;
});
$('.ewww-help-beacon-multi').on( 'click', function() {
var hsids = $(this).attr('data-beacon-articles');
hsids = hsids.split(',');
Beacon('suggest', hsids);
Beacon('navigate', '/answers/');
Beacon('open');
return false;
});
$('.ewww-help-beacon-single').on( 'click', function() {
var hsid = $(this).attr('data-beacon-article');
Beacon('article', hsid, { type: 'modal' });
return false;
});
}
}
HSregister();
});
function selectText(containerid) {
var debug_node = document.getElementById(containerid);
if (document.selection) {
var range = document.body.createTextRange();
range.moveToElementText(debug_node);
range.select();
} else if (window.getSelection) {
window.getSelection().selectAllChildren(debug_node);
}
}
function unselectText() {
var sel;
if ( (sel = document.selection) && sel.empty) {
sel.empty();
} else if (window.getSelection) {
window.getSelection().removeAllRanges();
}
}