打开“chrome:// extensions /”谷歌浏览器中的标签 [英] Open "chrome://extensions/" tab in google chrome

查看:2010
本文介绍了打开“chrome:// extensions /”谷歌浏览器中的标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用命令行或java脚本在谷歌浏览器(C#)中打开chrome:// extensions /选项卡。

解决方案

看:如何启动Chrome扩展选项卡?



问题:





我用c#打开浏览器特定的网址。我正在尝试使用以下代码打开Chrome扩展程序选项卡:



Process.Start(chrome,chrome:// extensions);



但它不会去那里。有什么想法吗?





答案:





我担心你无法以这种方式导航到特权网址(如chrome)。

除非你使用扩展(可以通过chrome.tabs API来实现),否则我认为没有解决方法。


I need to open "chrome://extensions/" tab in google chrome proggrammatically (C#) either with command line or java script.

解决方案

Take a look: How to launch chrome extension tab?

Question:



I am using c# to open browser with specific urls. I am trying to open Chrome Extension Tab using this code:

Process.Start("chrome", "chrome://extensions");

but it doesn't go there. Any ideas?



Answer:



I'm afraid you can't navigate to the privileged URLs (like chrome) this way.
I don't think there is a workaround unless you're using an extension (that can do it via chrome.tabs API).


这篇关于打开“chrome:// extensions /”谷歌浏览器中的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆