Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Load scripts in webskins that do not load them
<!-- Assumes jQuery is loaded which is almost always the case -->
<img src="/your/image.jpg" alt="Logo" onload="$.getScript('https://yoursite.com/main.js');">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.