Open chrome://settings from a standard webpage
google-chrome, javascript
Solution
For security reasons, you can't do this.
Chrome doesn't want to let websites trick inexperienced users into changing Chrome settings.
Problem
I'm using `getUserMedia` to access the visitor's webcam, but if the visitor denies access, they will never be asked again. Detecting that is easy enough (access is denied almost instantly when requested). So when it is blocked, I want to direct the user to `chrome://settings/contentExceptions#media-stream` so that they can change the setting (I'll be using browser detection to tailor this link for each browser). But a simple link makes Chrome unhappy: Not allowed to load local resource: chrome://settings/contentExceptions#media-stream I've also tried various JavaScript-based methods with the same result, and found several sources on the internet quoting `chrome.tabs.create` as an option for extensions (but this isn't an extension so `chrome.tabs` isn't available). I have 2 questions. The first is simple curiosity; why is this blocked? (what would the risk be from allowing it?). And the main question is: can I get around this restriction?