custom-script-in-design-and-preview
![site profile thumbnail](https://uploads-ssl.webflow.com/5f875e26a31d125178f7e29a/5f8887fee397aa1687e8735b_no-code-thumbnail.jpg)
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.