Created
December 19, 2015 15:20
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 "//"