Can a Chrome extension toggle Switches normally set as command line flags?

僤鯓⒐⒋嵵緔 提交于 2019-12-23 15:56:35

问题


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?


回答1:


Unfortunately, there is no API for this.



来源:https://stackoverflow.com/questions/32210069/can-a-chrome-extension-toggle-switches-normally-set-as-command-line-flags

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!