Created
December 19, 2015 15:20
-
-
Save khalilovcmd/6193991d9fb0ad240351 to your computer and use it in GitHub Desktop.
to import lodash into chrome dev tools console
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
var el = document.createElement('script'); | |
el.src = "https://raw.githubusercontent.com/lodash/lodash/3.10.1/lodash.min.js"; | |
el.type = "text/javascript"; | |
document.head.appendChild(el) |
The error is because of trying to inject the code to this page (gist.github.com) - tmartensen's code works fine on any new blank page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Sheremetin try removing the "https:" from the URL and prefixing it with just "//"