title
contributors
issues
LiveChat
user
name
maddijoyce
Maddi Joyce
repo
number
reed/turbolinks-compatibility
21
LiveChat (livechatinc) Plugin
livechatinc.com
< body >
< script >
var __lc = { } ;
__lc . license = #######;
( function ( ) {
var lc = document . createElement ( 'script' ) ; lc . type = 'text/javascript' ; lc . async = true ;
lc . src = ( 'https:' == document . location . protocol ? 'https://' : 'http://' ) + 'cdn.livechatinc.com/tracking.js' ;
var s = document . getElementsByTagName ( 'script' ) [ 0 ] ; s . parentNode . insertBefore ( lc , s ) ;
} ) ( ) ;
</ script >
</ body >
Replace the javascript with the following:
var __lc = { } ;
__lc . license = #######;
( function ( ) {
delete ( window . LC_API ) ;
delete ( window . LC_Invite ) ;
delete ( window . __lc_iframe_current_skill ) ;
delete ( window . __lc_inited ) ;
delete ( window . __lc_lang ) ;
var lc = document . createElement ( 'script' ) ; lc . type = 'text/javascript' ; lc . async = true ;
lc . src = ( 'https:' == document . location . protocol ? 'https://' : 'http://' ) + 'cdn.livechatinc.com/tracking.js' ;
var s = document . body . getElementsByTagName ( 'script' ) [ 0 ] ; s . parentNode . insertBefore ( lc , s ) ;
} ) ( ) ;