-1
我建立一个雷鸟扩展,并通过添加以下到的install.rdf选项弹出不出现扩展
<em:optionsURL>chrome://content/options.xul</em:optionsURL>
这使按钮,但点击上它什么也没有发生启用的选项弹出。在options.xul看起来如下
<?xml version="1.0"?>
<prefwindow id="EmailToOSN-prefs"
title="StockWatcher 2 Options"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<prefpane id="sw2-stock-pane" label="Stock Settings">
<preferences>
<preference id="pref_symbol" name="extensions.stockwatcher2.symbol" type="string"/>
</preferences>
<hbox align="center">
<label control="symbol" value="Stock to watch: "/>
<textbox preference="pref_symbol" id="symbol" maxlength="4"/>
</hbox>
</prefpane>
</prefwindow>