Extension permission for Chrome settings menu (chrome://settings)

后端 未结 1 803
孤街浪徒
孤街浪徒 2021-01-23 16:05

I\'m writing a Chrome extension, it listens the chrome.windows.onRemoved.addListener and disconnects the user when chrome window is closed.

I want to execute script (chr

1条回答
  •  余生分开走
    2021-01-23 16:41

    No, there is no permission that would allow you to access chrome:// URL scheme. This is an explicit safety mechanism against potentially malicious changes to Chrome settings.

    You can get the access if you enable extensions-on-chrome-urls flag, but obviously you can't do that on machines you don't fully control.

    Additionally, there is no API to manipulate users in Chrome.

    0 讨论(0)
提交回复
热议问题