0

I've created chrome extension for better productivity using content script but it's not being loaded on pages like

chrome://settings/
chrome-extension://some/extension.html
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>"]

icl7126
  • 5,740
  • 4
  • 53
  • 51
  • Can you provide your manifest file. You can also check if your script has eval or something dangerous. – vothaison Nov 03 '16 at 07:41
  • 1
    You can use search and find many existing answers that explain why these urls are restricted. Or you can check source code yourself: [here](https://cs.chromium.org/chromium/src/extensions/common/permissions/permissions_data.cc?sq=package:chromium&dr=C&rcl=1478143038&l=87) and [here](https://cs.chromium.org/chromium/src/chrome/common/extensions/chrome_extensions_client.cc?sq=package:chromium&dr=C&rcl=1478143038&l=234) – wOxxOm Nov 03 '16 at 08:19
  • @wOxxOm well you could provide at least one to help me... – icl7126 Nov 03 '16 at 08:20
  • @wOxxOm thanks for those links, but I really cannot find any answer answering my questions... – icl7126 Nov 03 '16 at 08:31
  • I use google with something like "stackoverflow chrome extension on webstore urls" and the top link is [Chrome Extension Content Script on https://chrome.google.com/webstore/](//stackoverflow.com/q/11613371) and for chrome urls: [Can you access chrome:// pages from an extension?](//stackoverflow.com/q/19042857) As for the full list, CWS is the only excluded website as you can see in the source code. – wOxxOm Nov 03 '16 at 11:50

1 Answers1

1

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]

Xan
  • 74,770
  • 16
  • 179
  • 206