Closed abhijithvijayan closed 5 years ago
Great project!
I was wondering if this is something that can be done manually without having to implement a templated solution? I'm looking to support content scripts so that I can inject a script into a page.
Any help would be greatly appreciated!
Thanks!
Let me look onto that
I suppose one could inject programmatically: https://developer.chrome.com/extensions/content_scripts#programmatic
I guess, adding an entry to webpack config file and then updating the manifest file would do it nice and smooth.
"content_scripts": [ { "matches": ["http://*.nytimes.com/*"], "css": ["myStyles.css"], "js": ["contentScript.js"] } ],
I'll keep you posted. It's getting late here, so might have to dive in tomorrow. Thank you so much!
I will try to add a demo with content scripts.
Edit: See this demo: https://github.com/abhijithvijayan/nice-try-scribd
I just added a sample content script file to this starter as well.
Awesome! Works @abhijithvijayan, thank you!
@jgornick Good to hear. :smiley:
Feature Request