icl7126 icl7126 - 1 month ago 12
Javascript Question

Chrome extension is not loaded in some pages

I've created chrome extension for better productivity using

content script
but it's not being loaded on pages like

chrome://settings/
https://chrome.google.com/webstore/category/extensions


I believe it's some security measure but I couldn't find any official statement.

Is there a way to get additional permission for these pages or somehow got white-listed?

If it's not possible I would really like to provide official link with explanation in my description (or at least list all not supported pages).

EDIT:

My manifest.json file contains permission:
"<all_urls>"
and
content_scripts
matches all url:
"matches": ["<all_urls>"]

Xan Xan
Answer

It is indeed hard to find official statements.

Edit: found a nice summary I made earlier.

It's highly unlikely that you would be granted a whitelist for either of those.

APIs that require whitelisting are dangerous, and we try to avoid them as much as possible.[source]