Skip to content

Instantly share code, notes, and snippets.

@siwonred
Last active June 3, 2020 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siwonred/c5b210fb01c676cce633f4e803f21477 to your computer and use it in GitHub Desktop.
Save siwonred/c5b210fb01c676cce633f4e803f21477 to your computer and use it in GitHub Desktop.
<html>
hi
<p>
</p>
<!-- Channel Plugin Scripts -->
<script>
(function() {
var w = window;
if (w.ChannelIO) {
return (window.console.error || window.console.log || function(){})('ChannelIO script included twice.');
}
var d = window.document;
var ch = function() {
ch.c(arguments);
};
ch.q = [];
ch.c = function(args) {
ch.q.push(args);
};
w.ChannelIO = ch;
function l() {
if (w.ChannelIOInitialized) {
return;
}
w.ChannelIOInitialized = true;
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = 'https://cdn.channel.io/plugin/ch-plugin-web.js';
s.charset = 'UTF-8';
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
}
if (document.readyState === 'complete') {
l();
} else if (window.attachEvent) {
window.attachEvent('onload', l);
} else {
window.addEventListener('DOMContentLoaded', l, false);
window.addEventListener('load', l, false);
}
})();
ChannelIO('boot', {
"pluginKey": "4be44efa-59d8-4847-990f-d5cb3e9af40f"
});
</script>
<!-- End Channel Plugin -->
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment