Access Chrome settings in Chrome Extension

社会主义新天地 提交于 2019-12-23 12:47:10

问题


I'm looking to develop a chrome extension that can access the Content Settings in [wrench] -> Options -> Under the Hood. Is that possible? I was looking on the API page and had no luck. Any ideas?


回答1:


If it's the language settings you're after, you can use the i18n support to get the browser language by defining different strings in each locale file, then reading it in your main script.

It doesn't look like you can obtain the font settings, not through the Chrome APIs at least.



来源:https://stackoverflow.com/questions/4505723/access-chrome-settings-in-chrome-extension

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