require('') in chrome devtools
Allows `require() in the chrome console`. Click on the icon to activate the plugin for the current tab.
Latest reviews
- (2021-08-27) Florian Rücker: Doesn't work ("VM1096:1 Uncaught ReferenceError: require is not defined at <anonymous>:1:1") and that's after I wasted time on the project's github page trying to find very basic instructions on how to use his script.
- (2019-01-27) Cihad Turhan: I love this extension but it's not working anymore. Problem is wzrd.in I think. I have to remove it and find a better option.
- (2018-04-10) avalanche156: Would you pls update it? Throws 'Refused to connect to 'https://wzrd.in/bundle/d3@latest/' because it violates the following Content Security Policy directive: "connect-src 'self' uploads.github.com... '
- (2016-10-18) Ronaldo Araujo de Farias: Facilita muito o acesso as biblioteca javascript. Antes eu tinha que ir até o site copiar e colar. Agora é só dar require()
- (2014-10-01) Keith Russell: johan is wrong
- (2014-09-30) Allison McCann: SO GREAT
- (2014-09-30) Jonathan Garbee: Caused Codio and Focus@Will to fail. Quite possibly other sites as well. Overall seems poorly implemented to actually break web pages, especially when the DevTools aren't even open.
- (2014-09-25) Johan Sundström: Good idea, broken implementation. This doesn't inject require into the chrome console api only, but actually breaks window.require, which makes sites like Quora and Facebook massively bug out.
- (2014-09-19) Heath Dernovich: lets ya do some interesting things from the console. Lots of fun
- (2014-09-14) JeongHoon Byun (Outsider): Good!!
- (2014-09-04) Useful.
- (2014-09-02) Pablo Caselas: This extension is sending info to its backend in all websites. DELETE IT!!
Latest issues
- (2018-08-07, v:2.0.1) David Lyle: "require is not defined"
I'm getting "require is not defined" whenever I try to require d3. The extension is activated for the tab that I'm trying to do this in. Any help would be appreciated, thanks. - (2018-06-21, v:2.0.1) David Lyle: requirify-browser.js:5 Uncaught TypeError: require is not a function
I'm getting this message whenever I try to use requirify. I'm just doing the require('d3') as seen in the demo to get this error message. - (2014-09-30, v:1.0.2) Jonathan Garbee: Breaks sites
It breaks the Codio online IDE with the insecure request issue that Joey Baker reported. Also breaks logging into Focus@Will in some way. This should have a much tighter scope than it does so it isn't breaking web pages even when the DevTools aren't open. - (2014-09-25, v:1.0.2) Johan Sundström: Breaks Quora and Facebook
Overwriting window.require breaks sites using similar ideas but with different implementations. - (2014-09-07, v:1.0.2) Joey Baker: Doesn't work on https sites
Chrome canary blocks requests from https sites to non-https. ``` [blocked] The page at 'https://…' was loaded over HTTPS, but ran insecure content from 'http://wzrd.in/bundle/lodash@latest/': this content should also be loaded over HTTPS. ``` - (2014-09-01, v:1.0.2) Rich Bradshaw: Breaks sites with CSP enabled
e.g. Facebook - the page won't even load correctly.