Chrome扩展程序切换可以通常将切换设置为命令行标志吗? [英] Can a Chrome extension toggle Switches normally set as command line flags?

查看:71
本文介绍了Chrome扩展程序切换可以通常将切换设置为命令行标志吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以编写能够在浏览器中切换开关的Chrome扩展,类似于如何使用命令行标志:--disable-web-security。

在一个理想的世界中,我只会为单个选项卡设置此标志,但在浏览器中打开和关闭安全标志的能力将是一个很好的开始。



关于if / how可以实现的任何想法?

解决方案

<不幸的是,这里没有API。


I'm wondering if I would be able to write a chrome extension that would be able to toggle Switches in the browser, similar to how using the command line flag: "--disable-web-security" works.

In an ideal world, I would only set this flag for a single tab, but the ability to toggle the security flag on and off within the browser would be a good start.

Any ideas on if/how this can be accomplished?

解决方案

Unfortunately, there is no API for this.

这篇关于Chrome扩展程序切换可以通常将切换设置为命令行标志吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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