Created
September 3, 2020 07:41
-
-
Save ganeshjaiwal/d482f1318d1c9622ecb73f53d24c411a to your computer and use it in GitHub Desktop.
Content script section in manifest fine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Add this to manifest file to inject contentscript.js into web page. | |
*/ | |
"content_scripts": [ | |
{ | |
"matches": [ | |
"http://*/*", | |
"https://*/*" | |
], | |
"css": [ | |
"styles/contentscript.css" | |
], | |
"js": [ | |
"scripts/contentscript.js" | |
], | |
"run_at": "document_end", | |
"all_frames": false | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment