Skip to content

Instantly share code, notes, and snippets.

@anehkumar
Last active August 24, 2020 12:12
Show Gist options
  • Save anehkumar/960fd9eb300e175a6a13514f3c751730 to your computer and use it in GitHub Desktop.
Save anehkumar/960fd9eb300e175a6a13514f3c751730 to your computer and use it in GitHub Desktop.
<div id="chatbun10"></div>
<script type="text/javascript">
(function(d) {
var params =
{
id: "1",
wid: "10",
cb: (new Date()).getTime()
};
var qs = Object.keys(params).reduce(function(a, k){ a.push(k + '=' + encodeURIComponent(params[k])); return a},[]).join(String.fromCharCode(38));
var s = d.createElement('script'); s.type='text/javascript';s.async=true;
var p = 'https:' == document.location.protocol ? 'https' : 'http';
s.src = p + "://adv.chatbun.com/Scripts/widget?" + qs;
d.getElementById("chatbun10").appendChild(s);
})(document);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment