mozilla

Compare Revisions

Building an extension

Change Revisions

Revision 33573:

Revision 33573 by designatevoid on

Revision 33574:

Revision 33574 by bugra on

Title:
Building an extension
Building an extension
Slug:
Building_an_Extension
Building_an_Extension
Tags:
NeedsTechnicalReview, Extensions, Add-ons, NeedsEditorialReview, NeedsUpdate
NeedsTechnicalReview, Extensions, Add-ons, NeedsEditorialReview, NeedsUpdate
Content:

Revision 33573
Revision 33574
n85&lt;RDF xmlns="<span class="nowiki">http://www.w3.org/1999/02/22-n85&lt;RDF xmlns="<span class="nowiki"><a class="linkification-ext" 
>rdf-syntax-ns#</span>">href="http://www.w3.org/1999/02/22-rdf-syntax-ns#" title="Linkifi
 >cation: http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w
 >3.org/1999/02/22-rdf-syntax-ns#</a></span>"
86     xmlns:em="<span class="nowiki">http://www.mozilla.org/2004/e86     xmlns:em="<span class="nowiki"><a class="linkification-ext" 
>m-rdf#</span>"&gt;>href="http://www.mozilla.org/2004/em-rdf#" title="Linkification: 
 >http://www.mozilla.org/2004/em-rdf#">http://www.mozilla.org/2004/
 >em-rdf#</a></span>"&gt;
n89    &lt;em:id&gt;<strong><a class=" link-mailto" href="mailto:samn89    &lt;em:id&gt;<strong><a class="linkification-ext link-mailto"
>ple@example.net" rel="freelink">sample@example.net</a></strong>&l> href="mailto:sample@example.net" title="Linkification: mailto:sa
>t;/em:id&gt;>mple@example.net">sample@example.net</a></strong>&lt;/em:id&gt;
n107    &lt;em:homepageURL&gt;<strong><span class="nowiki">http://wwwn107    &lt;em:homepageURL&gt;<strong><span class="nowiki"><a class="
>.example.com/</span></strong>&lt;/em:homepageURL&gt;>linkification-ext" href="http://www.example.com/" title="Linkific
 >ation: http://www.example.com/">http://www.example.com/</a></span
 >></strong>&lt;/em:homepageURL&gt;
n113        <strong><a class=" link-mailto" href="mailto:sample@exampn113        <strong><a class="linkification-ext link-mailto" href="ma
>le.net" rel="freelink">sample@example.net</a></strong> - the ID o>ilto:sample@example.net" title="Linkification: mailto:sample@exam
>f the extension.&nbsp; This is a value you come up with to identi>ple.net">sample@example.net</a></strong> - the ID of the extensio
>fy your extension in email address format (note that it should no>n.&nbsp; This is a value you come up with to identify your extens
>t be <em>your</em> email).&nbsp; Make it unique.&nbsp; You could >ion in email address format (note that it should not be <em>your<
>also use a GUID.&nbsp; NOTE: This parameter MUST be in the format>/em> email).&nbsp; Make it unique.&nbsp; You could also use a GUI
> of an email address, although it does NOT have to be a valid ema>D.&nbsp; NOTE: This parameter MUST be in the format of an email a
>il address.&nbsp; (example.example.example)>ddress, although it does NOT have to be a valid email address.&nb
 >sp; (example.example.example)
n171         xmlns="<span class="nowiki">http://www.mozilla.org/keyman171         xmlns="<span class="nowiki"><a class="linkification-ext"
>ster/gatekeeper/there.is.only.xul</span>"&gt;> href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.
 >xul" title="Linkification: http://www.mozilla.org/keymaster/gatek
 >eeper/there.is.only.xul">http://www.mozilla.org/keymaster/gatekee
 >per/there.is.only.xul</a></span>"&gt;
n280      <li>Save the file with the id of your extension as its namen280      <li>Save the file with the id of your extension as its name
> (e.g. <code><a class=" link-mailto" href="mailto:sample@example.> (e.g. <code><a class="linkification-ext link-mailto" href="mailt
>net" rel="freelink">sample@example.net</a></code>). No file exten>o:sample@example.net" title="Linkification: mailto:sample@example
>sion.>.net">sample@example.net</a></code>). No file extension.
n326      Visit <a class=" external" href="http://addons.mozilla.org/n326      Visit <a class="linkification-ext external" href="http://ad
>developers/" rel="freelink">http://addons.mozilla.org/developers/>dons.mozilla.org/developers/" title="Linkification: http://addons
></a> to create an account and begin distributing your extensions!>.mozilla.org/developers/">http://addons.mozilla.org/developers/</
 >a> to create an account and begin distributing your extensions!
t452      and then use <code><a href="/en/NsIStringBundleService" titt452      and then use <code><a href="/en/NsIStringBundleService" tit
>le="en/NsIStringBundleService">nsIStringBundleService</a></code>/>le="en/NsIStringBundleService">nsIStringBundleService</a></code>/
><code><a href="/en/nsIStringBundle" title="en/nsIStringBundle">ns><code><a href="/en/nsIStringBundle" title="en/nsIStringBundle">ns
>IStringBundle</a></code> or the <code><a class="external" href="h>IStringBundle</a></code> or the <code><a href="/en/XUL/stringbund
>ttp://xulplanet.com/references/elemref/ref_stringbundle.html">&lt>le" title="en/XUL/stringbundle">&lt;stringbundle&gt;</a></code> t
>;stringbundle&gt;</a></code> tag to load the values into script.>ag to load the values into script.

Back to History