Easily inject javascript libraries from the console
Console injector allows easy injection of javascript scripts into any page from the console, using the following simple syntax:
console.inject('jquery');
This is very handy for quickly testing ideas in the console and rapidly injecting code into existing sites. Console Injector searches cdnjs for javascript libraries matching a given input string, and inserts the latest corresponding script hosted at cdnjs.cloudflare.com.
Console Injector is open source and located at https://github.com/cannoneyed/console-injector
Latest reviews
- (2019-03-13) 김세현: 편하게 콘솔에서 작업할 수 있어 좋습니다.
- (2018-01-09) Julio Cezar Silva: This is awesome! Now I can mess around with libraries locally while developing - it's especially useful for checks in libraries to which you're new, so you can perform a series of simple tests on it without ever creating a file. I'd just like to be able to define a specific version for the libraries I download, like: console.inject('[email protected]') Unfortunately, as I see from the github project, this Injector is abandoned, so I get what I see. Still very useful
- (2016-03-16) Kris Alnes: Awesome !
- (2015-10-15) Daniel Gombert: It makes easy something I do a lot. Unfortunately, the extension has no way to circumvent the Content Security Policy that is used by some websites (the existence of which prompted me to look for this extension). So, unfortunately, not useful at the moment.