- waits 3 seconds after page loads then
- pops up a chatbot iframe
It works perfectly as designed in the JS Fiddle - that's what's so frustrating!
The Sharepoint experience on the other hand:
- the text of the script itself is still displaying in the webpart in preview mode
The way I insert code is
- edit page
- insert a control for the code: Webpart\Media and Content\Content Editor OR Webpart\Media and Content\Script Editor OR Editing page|Insert\Embed code
- setting the webpart Appearance\Chrome to None
Only console error in F12 says the following. The code it points to is uglified beyond belief!
SCRIPT5007: Unable to get property 'parse' of undefined or null reference File: botchat.js, Line: 34, Column: 343685