Chrome教程 - 选项页面 [英] Chrome tutorials - options page
问题描述
我正在处理我的第一个Chrome扩展程序。
我按照这篇文章 http://code.google.com/chrome/extensions/options.html 将我的选项页面关闭。所以,当我重新加载我的扩展,并点击选项我正确地看到页面,但是当我更改选项并保存它时,设置不会被保存。就设置而言,它现在非常基本,只是使用入门教程。我不知道为什么这不起作用,不知道从哪里开始。谢谢。请告诉我是否可以提供更多信息。
c $ c>禁止嵌入脚本。将所有JavaScript移动到 options.js
并加载它。 I am working on my first chrome extension.
I followed this article http://code.google.com/chrome/extensions/options.html to base my options page off of. So when I reload my extension, and I click "options" I see the page correctly, but when I change an options and save it, the setting is not saved. As far as the setup goes it's very basic right now, just used the getting started tutorial. I am not sure why this isn't working and not sure where to start. Thank you. Please let me know if I can provide more information.
"manifest_version": 2
forbids embedded scripts. Move all of the JavaScript to options.js
and load it that way.
这篇关于Chrome教程 - 选项页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!