-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>