Hello --
Hoping someone may be able to help me with getting a web widget to appear. Code provided below.
Each time I save the page with the code block, I'm getting the "Scripts Disabled" error. I've done everything I've read to do, and still can't get the web widget to populate (it's just showing as blank).
Steps to try and resolve the issue:
added the code to the "header section" of the code injection page
Made sure code was tied to proper libraries
Open an private browsing tab to view the webpage
Here is the code for the widget I am working with. Any help getting this to work is greatly appreciated.
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script><script src="https://unpkg.com/@openai/chat-widget@latest/dist/chat-widget.js"></script><div id="chat-widget-container"></div><script> var chatWidget = new ChatWidget({ apiKey: 'YOUR_API_KEY', // Replace with your own API key targetElement: '#chat-widget-container', prompt: 'Welcome to the resume formatting tool! Please input a sentence from your resume, and I will suggest ways to improve its formatting.', inputPlaceholder: 'Enter a sentence from your resume...', });
</script>