update
This commit is contained in:
@@ -458,26 +458,12 @@ class ChatGenerator
|
||||
var _smartsupp = _smartsupp || {};
|
||||
_smartsupp.key = '%key%';\n" .
|
||||
implode("\n", $params) . "\n" .
|
||||
"document.addEventListener('scroll', smartsupplaunch);
|
||||
document.addEventListener('mousedown', smartsupplaunch);
|
||||
document.addEventListener('mousemove', smartsupplaunch);
|
||||
document.addEventListener('touchstart', smartsupplaunch);
|
||||
document.addEventListener('keydown', smartsupplaunch);
|
||||
|
||||
function smartsupplaunch () {
|
||||
window.smartsupp||(function(d) {
|
||||
"window.smartsupp||(function(d) {
|
||||
var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];
|
||||
s=d.getElementsByTagName('script')[0];c=d.createElement('script');
|
||||
c.type='text/javascript';c.charset='utf-8';c.async=true;
|
||||
c.src='//www.smartsuppchat.com/loader.js';s.parentNode.insertBefore(c,s);
|
||||
})(document);
|
||||
document.removeEventListener('scroll', smartsupplaunch);
|
||||
document.removeEventListener('mousedown', smartsupplaunch);
|
||||
document.removeEventListener('mousemove', smartsupplaunch);
|
||||
document.removeEventListener('touchstart', smartsupplaunch);
|
||||
document.removeEventListener('keydown', smartsupplaunch);
|
||||
}
|
||||
"
|
||||
})(document);"
|
||||
. implode("\n", $params2) . "
|
||||
</script>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user