jhen0409 / react-chrome-extension-boilerplate

Boilerplate for Chrome Extension React.js project
MIT License
2.14k stars 388 forks source link

What does chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd/js/inject.bundle.js') come from? #50

Closed kokjinsam closed 7 years ago

kokjinsam commented 7 years ago

Hello there! Thank you for creating this boilerplate. It has been tremendously useful to me! I'm trying to dig deep into the code and I found this:

chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd/js/inject.bundle.js')

in multiple files like chrome/extension/background/inject.js and jade templates under /chrome/views. I removed it and it didn't seem it's affecting anything. So is it safe to remove it?

jhen0409 commented 7 years ago

Hey. :D It's inject script of redux-devtools-extension, if you have installed this would be useful, see https://github.com/zalmoxisus/redux-devtools-extension/blob/master/docs/FAQ.md#how-to-include-it-in-chrome-apps-and-extensions.

kokjinsam commented 7 years ago

Ah! Thanks for telling me.

zalmoxisus commented 7 years ago

We could rename it to something more intuitive like chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd/js/redux-devtools-extension.js, but it would be a breaking change.