0 Replies Latest reply on Apr 30, 2015 9:56 AM by rodegard

    How to add a script to the WHD login page for a hosted chat service

    rodegard

      We are using a hosted service to provide a chat room for our users needed assistance from our IT Help Desk.  The hosted service provides a script to add to the web page (see below).  The instructions provided by the hosted service says to add the script just before the closing </body> tag on each page you wish to have the popup appear.  Does anyone have an idea what file I would add this script to in order to display the popup on the WHD login page and the Help Request page?

       

      <script type='text/javascript'>(function () { var done = false; var script = document.createElement('script'); script.async = true; script.type = 'text/javascript'; script.src = 'https://widget.hostedsvc.com/VisitorWidget/WidgetScript'; document.getElementsByTagName('HEAD').item(0).appendChild(script); script.onreadystatechange = script.onload = function (e) { if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) { var w = new PCWidget({ c: '7103d949-xx21-4389-axx4-670xffdd935c', f: true }); done = true; } }; })();</script>