Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open chrome://extensions/

I have a question that I want to open chrome://extensions/ page by other programs, such as cmd.exe, or other else.

As we know, if we use chrome.exe open a website, we can execute “C:\XXX\chrome.exe www.test.com" in cmd.exe, then it will open www.test.com page. But it doesn't work in chrome://extensions/ page. Since chrome://extensions/ is a local page.

I also tried others solutions, such as window.open("chrome://extensions/"), chrome.tabs.create(), and so on.

like image 865
Jack.Xiao Avatar asked Nov 26 '25 18:11

Jack.Xiao


1 Answers

chrome.tabs.create will work in a context of an extension (unlike window.open, which is unprivileged). Doesn't even require the "tabs" permission.

chrome.tabs.create({url: "chrome://extensions/"});
like image 106
Xan Avatar answered Nov 30 '25 08:11

Xan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!