-
-
Save phmLabs/bc1407e74383409c7d70db1619d4474c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- BEGIN JIVOSITE CODE {literal} --> | |
<script type='text/javascript'> | |
(function () { | |
var widget_id = 'x4WkTczrNQ'; | |
var d = document; | |
var w = window; | |
function l() { | |
var s = document.createElement('script'); | |
s.type = 'text/javascript'; | |
s.async = true; | |
s.src = '//code.jivosite.com/script/widget/' + widget_id; | |
var ss = document.getElementsByTagName('script')[0]; | |
ss.parentNode.insertBefore(s, ss); | |
} | |
if (d.readyState == 'complete') { | |
l(); | |
} else { | |
if (w.attachEvent) { | |
w.attachEvent('onload', l); | |
} else { | |
w.addEventListener('load', l, false); | |
} | |
} | |
function jivo_onLoadCallback() { | |
console.log('foobar'); | |
} | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment