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
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.