Skip to content

Instantly share code, notes, and snippets.

@ganeshjaiwal
Created September 3, 2020 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ganeshjaiwal/d482f1318d1c9622ecb73f53d24c411a to your computer and use it in GitHub Desktop.
Save ganeshjaiwal/d482f1318d1c9622ecb73f53d24c411a to your computer and use it in GitHub Desktop.
Content script section in manifest fine
/*
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