custom-script-in-design-and-preview
Example for loading a custom script inside webflow via a userscript:
Steps to test:
1.) Clone this project.
2.) Install Tampermonkey in Google Chrome
3.) Install the userscript here https://t.co/9F5NJpPGQy
The userscript looks for a data attribute on the body tag called data-wf-design-mode-script which should point to your externally hosted script.