DEV Community

loading...

Discussion on: "Hacking" My Way to Automatic File Injection in Chrome Extensions

Collapse
andyzya profile image
andyzya

Is it possible to add JS file instead of CSS file paths to the page?

Collapse
nizarmah_ profile image
Nizar Author

The script injects code directly in the webpage, so yeah it should work on JS files (but you might have to make slight tweaks to the existing code)