Skip to content

Instantly share code, notes, and snippets.

@dbarria
Forked from pdaire/index.html
Last active May 13, 2020 21:37
Show Gist options
  • Save dbarria/1af308c3b1f1b66231e624705a5e6752 to your computer and use it in GitHub Desktop.
Save dbarria/1af308c3b1f1b66231e624705a5e6752 to your computer and use it in GitHub Desktop.
bci demo salesforce
<html>
<head></head>
<body>
<h1>Widget Let's Talk</h1>
<script type='text/javascript' async defer>
(function(l,t){if(l.$LT)return;function ls(){a=!1;s=t.createElement('script');s.type='text/javascript';s.src='https://bcitransaccional.letsta.lk/widget.js';s.async=!0;s.defer=!0;k=document.getElementsByTagName('script')[0];k.parentNode.insertBefore(s,k)};var lt=l.$LT=function(callback){if(typeof callback==='function'){mock.initCallBack=callback}};lt.enqueue=function(){mock.stack.push(arguments);mock.times.push(+new Date)};lt.settings=function(settings){lt.enqueue('userSettings',settings)};lt.chatMetadata=function(getMetadata){if(typeof getMetadata==='function'){lt.enqueue('metadata',getMetadata())}};lt.setByName=function(name){mock.name=name};var mock=lt._={name:!1,initCallBack:!1,stack:[],times:[+new Date],};if(t.body){ls()}else{if(l.attachEvent){l.attachEvent('onload',ls)}else{l.addEventListener('load',ls,!1)}}})(window,document);window.$LT(function(messenger){messenger.setByName('salesforce');});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment