Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how open chrome settings in new tab using javascript

I want to open "chrome://settings/contentExceptions#media-stream" in a new tab using JavaScript window.location.href="chrome://settings/contentExceptions#media-stream" or onclick="window.top.location='chrome://settings/contentExceptions#media-stream'" doesn't work any ideas ?

like image 612
David Avatar asked Aug 14 '26 19:08

David


1 Answers

You are not allowed to load local resources, your best bet would be to inform the user how to reach that page in a nice way.

like image 159
epoch Avatar answered Aug 17 '26 09:08

epoch