擴充套件之安裝設定- contents.rdf
- http://developer.mozilla.org/en/docs/Creating_toolbar_buttons
# 5 The list of commonly overlayed windows with toolbars
- 範例
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<RDF:Seq about="urn:mozilla:package:root">
<RDF:li resource="urn:mozilla:package:myextension"/>
</RDF:Seq>
<RDF:Description about="urn:mozilla:package:myextension"
chrome:displayName="My Extension"
chrome:author="author"
chrome:contributor="contributor"
chrome:name="myextension"
chrome:description="My Simple Extension."
chrome:extension="true">
</RDF:Description>
<RDF:Seq about="urn:mozilla:overlays">
<RDF:li resource="chrome://browser/content/browser.xul"/>
</RDF:Seq>
<!-- overlay for Firefox. -->
<RDF:Seq about="chrome://browser/content/browser.xul">
<RDF:li>chrome://tongwen/content/overlay.xul</RDF:li>
</RDF:Seq>
</RDF:RDF>
沒有留言:
張貼留言