Reputation: 23
When I inject a JavaScript file using
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["inject.js"]
}
]
in manifest.json
, it doesn't inject it to Chrome pages, like chrome://extensions/
.
Is there any solution for it?
Upvotes: 1
Views: 654
Reputation: 751
While you can not modify other extensions you can modify other chrome://pages. This process is called, Page Overriding.
http://code.google.com/chrome/extensions/override.html
An extension can replace any one of the following pages:
Upvotes: 2
Reputation: 2121
Google doesn't allow extensions to work with certain URI like chrome://extensions/
for security and development reasons. See Can extensions modify chrome:// URLs?.
Upvotes: 7