Created
August 16, 2019 22:23
-
-
Save yilmazdurmaz/b072c27f2554287897e25746c32a74de to your computer and use it in GitHub Desktop.
include a library on chrome debug tools
This file contains hidden or 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
| (function (name,url) { | |
| if (typeof window[name] === 'undefined') { | |
| var s = document.createElement('script'); | |
| s.setAttribute('src', url); | |
| document.body.appendChild(s); | |
| } | |
| }("jQuery","https://code.jquery.com/jquery-3.4.1.min.js")); | |
| //not possible if CORS(!) or CSP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment