Last active
January 30, 2019 21:49
-
-
Save DrewDouglass/c918c13a8059064513de14f171462f57 to your computer and use it in GitHub Desktop.
Load scripts in webskins that do not load them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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