有没有办法提供 user.js 设置? Chrome 中的管理?
我是 http://userscripts.org/scripts/review/86621 的开发人员,简单的脚本,可以监控您的网站在 Google SERP 中的位置。
用户网站列表由脚本开头的数组设置。这对我来说是可以接受的,直到:
- 一些用户询问一种简单的方法来添加我转换为 Chrome 的长网址列表
- ,那里没有“编辑脚本”按钮
是否有任何 API,可以帮助通过本机访问设置浏览器方式(通过 chrome://settings/extensionSettings,单击“选项”按钮)?
我也很乐意了解其他浏览器的此类 API。
I'm a developer of http://userscripts.org/scripts/review/86621, a simple script, which allows to monitor your websites' positions in Google SERPs.
A list of user's websites sets by an array in the beginning of the script. It was acceptable for me, until:
- some users asked about a simple way to add long lists of URLs
- I converted to Chrome, there isn't an "Edit script" button there
Is there any API, which help to access to settings by native browser way (via chrome://settings/extensionSettings, by clicking "Options" button)?
Also I'll be happy to know about such APIs for other browsers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 Chrome 扩展程序选项页面创建选项按钮。 Firefox 扩展可以使用 prefutils.js 来达到相同的效果。
Use a Chrome Extension Options Page to create an options button. prefutils.js can be used by Firefox extensions to achieve the same effect.