Forum Discussion
TomMusto
7 years agoQrew Cadet
The module.js page should contain only javascript/jQuery code, but the code provided above contains HTML. I think you need to either strip out all of the text/HTML content from the above code or use a javascript/jQuery function to write the HTML to the page. To confirm this, try using just this portion of the code in your module.js file and see if it works:
------------------------------
-Tom
------------------------------
window.__lc = window.__lc || {}; window.__lc.license = 9999999; (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); })();ā
------------------------------
-Tom
------------------------------
MarkShnier__You
Qrew Legend
7 years agoAmazing, it totally worked. I was also able to embed a dummy form on a dashboard as a Web Page Widget and get the chat box on my Dashboard. Wonderful.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
markshnier2@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
markshnier2@gmail.com
------------------------------