<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>zedomax.com &#187; c_documents</title>
	<atom:link href="http://zedomax.com/blog/tag/c_documents/feed/" rel="self" type="application/rss+xml" />
	<link>http://zedomax.com/blog</link>
	<description>Zedomax - The DIY, HOWTO, Mod, Hacks, Gadgets, and Tech Blog!</description>
	<lastBuildDate>Fri, 19 Mar 2010 21:00:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DIY HACK &#8211; How to make your own Firefox extension from scratch! &#8211; Part I</title>
		<link>http://zedomax.com/blog/2008/04/19/diy-hack-how-to-make-your-own-firefox-extension-from-scratch-part-i/</link>
		<comments>http://zedomax.com/blog/2008/04/19/diy-hack-how-to-make-your-own-firefox-extension-from-scratch-part-i/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 18:37:54 +0000</pubDate>
		<dc:creator>max</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Consumer]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Educational]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WebApp]]></category>
		<category><![CDATA[application_data]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[c_documents]]></category>
		<category><![CDATA[default_extensions]]></category>
		<category><![CDATA[documents_and_settings]]></category>
		<category><![CDATA[extension_wizard]]></category>
		<category><![CDATA[e_mail_address]]></category>
		<category><![CDATA[firefox-extension]]></category>
		<category><![CDATA[firefox-extension-wizard]]></category>
		<category><![CDATA[firefox_extension]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[how-to-make-firefox-extension]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[profiles]]></category>
		<category><![CDATA[profile_directory]]></category>
		<category><![CDATA[skeleton_code]]></category>
		<category><![CDATA[thunderbird]]></category>
		<category><![CDATA[wizard]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=5642</guid>
		<description><![CDATA[Well, there&#8217;s a flood of Firefox Toolbar makers out there, but I feel that is too much cheating and you don&#8217;t actually learn anything.  Plus, those toolbars are very chubby and don&#8217;t run fast as it could when you make them from scratch.
In this session, I will teach you how to make your own Firefox [...]]]></description>
			<content:encoded><![CDATA[<p>Well, there&#8217;s a flood of Firefox Toolbar makers out there, but I feel that is too much cheating and you don&#8217;t actually learn anything.  Plus, those toolbars are very chubby and don&#8217;t run fast as it could when you make them from scratch.</p>
<p>In this session, I will teach you how to make your own Firefox extension and make it say, &#8220;Hello World!&#8221; from scratch.  (Not exactly from scratch but&#8230;)</p>
<p>It&#8217;s pretty easy actually.  You can use this <a target="_blank" href="http://kb.mozillazine.org/Getting_started_with_extension_development" >Firefox/Thunderbird Extension Wizard</a> to get the skeleton code for your new Firefox extension.</p>
<p>Simply fill in the blanks like below and <strong>make sure to note the Extension ID</strong>, you can probably put your favorite e-mail address here:</p>
<p><img class="alignnone size-full wp-image-5643" title="DIY HACK - How to make your own Firefox extension from scratch! - Part I" src="http://zedomax.com/blog/wp-content/uploads/2008/04/firefox-extension-1.jpg" alt="DIY HACK - How to make your own Firefox extension from scratch! - Part I" width="628" height="994" /></p>
<p>After unzipping the downloaded files, simple unzip the files into a directory such as c:\mytoolbar.</p>
<p>After that, you can create a text file called, &#8220;zedomax@gmail.com&#8221;, which is what you put for Extension ID earlier.  Simply put &#8220;c:\mytoolbar&#8221; in the text file and save it.  (Yes, you need to simply set the path and save it&#8230;)</p>
<p>Now put that text file in your profile directory, usually something like, &#8220;<strong>c:\Documents and Settings\<em>Username</em>\Application Data\Mozilla\Firefox\Profiles\<em>xxx</em>.default\extensions\</strong>&#8221; where Username is your username and xxx will be variable depending on your computer.</p>
<p>After that, simply restart your Firefox and then go to <strong>Tools-&gt;Add-Ons </strong>and you will see your Firefox extension as seen here:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-5644" title="sitehoppin-1" src="http://zedomax.com/blog/wp-content/uploads/2008/04/sitehoppin-1.jpg" alt="sitehoppin-1" width="432" height="407" /></p>
<p>In my case, I named it &#8220;SiteHoppin Toolbar&#8221;, since I am making a SiteHoppin Toolbar.</p>
<p>Now that&#8217;s the basics to be able to edit your extension with Javascript and other great stuff.   Greatest thing or the easiest thing about Firefox extensions is that it supports Javascript.  Even if you turn off your Javascript support for browsing, Javascript for extensions still work, the real beauty behind Firefox extensions.</p>
<p>Now, you don&#8217;t see any buttons other than this new menu button called, &#8220;<strong>Your localized menuItem</strong>&#8221; under Tools.  Press on it and you will get a &#8220;Hello World!&#8221; message.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-5646" title="firefox-extension-3" src="http://zedomax.com/blog/wp-content/uploads/2008/04/firefox-extension-3.jpg" alt="" width="219" height="310" /></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-5648" title="hello-world" src="http://zedomax.com/blog/wp-content/uploads/2008/04/hello-world.jpg" alt="" width="329" height="121" /></p>
<p>But you can also go add your first icon button by going to <strong>View-&gt;Toolbars-&gt;Customize</strong>, then find your icon and drag it anywhere you want.</p>
<p><img class="alignnone size-full wp-image-5645" title="firefox-extension-2" src="http://zedomax.com/blog/wp-content/uploads/2008/04/firefox-extension-2.jpg" alt="firefox-extension-2" width="680" height="453" /></p>
<p>Now you should see your very first ever Firefox extension button like here:</p>
<p><img class="alignnone size-full wp-image-5647" title="firefox-extension-4" src="http://zedomax.com/blog/wp-content/uploads/2008/04/firefox-extension-4.jpg" alt="" width="155" height="110" /></p>
<p>Yey, congratulations!</p>
<p>You can now go play with the DTD files in your plugin folder OR you can go to this <a target="_blank" href="http://kb.mozillazine.org/Getting_started_with_extension_development" >Mozilla Help for further instructions</a> OR simply check back in couple days as we will have part II of this DIY.</p>
<p>C&#8217; ya, have great coding weekend!</p>
<p>Brought to you by: <a href="http://zedomax.com/blog" >Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/04/19/diy-hack-how-to-make-your-own-firefox-extension-from-scratch-part-i/" >DIY HACK &#8211; How to make your own Firefox extension from scratch! &#8211; Part I</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/application_data/" title="application_data" rel="tag">application_data</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/misc/consumer-misc/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/tag/create/" title="create" rel="tag">create</a>, <a href="http://zedomax.com/blog/tag/c_documents/" title="c_documents" rel="tag">c_documents</a>, <a href="http://zedomax.com/blog/tag/default_extensions/" title="default_extensions" rel="tag">default_extensions</a>, <a href="http://zedomax.com/blog/category/diy/" title="DIY" rel="tag">DIY</a>, <a href="http://zedomax.com/blog/tag/documents_and_settings/" title="documents_and_settings" rel="tag">documents_and_settings</a>, <a href="http://zedomax.com/blog/category/technology/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/extension_wizard/" title="extension_wizard" rel="tag">extension_wizard</a>, <a href="http://zedomax.com/blog/tag/e_mail_address/" title="e_mail_address" rel="tag">e_mail_address</a>, <a href="http://zedomax.com/blog/tag/firefox-extension/" title="firefox-extension" rel="tag">firefox-extension</a>, <a href="http://zedomax.com/blog/tag/firefox-extension-wizard/" title="firefox-extension-wizard" rel="tag">firefox-extension-wizard</a>, <a href="http://zedomax.com/blog/tag/firefox_extension/" title="firefox_extension" rel="tag">firefox_extension</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/how-to/" title="how-to" rel="tag">how-to</a>, <a href="http://zedomax.com/blog/tag/how-to-make-firefox-extension/" title="how-to-make-firefox-extension" rel="tag">how-to-make-firefox-extension</a>, <a href="http://zedomax.com/blog/tag/howto/" title="HOWTO" rel="tag">HOWTO</a>, <a href="http://zedomax.com/blog/category/misc/" title="Misc" rel="tag">Misc</a>, <a href="http://zedomax.com/blog/tag/profiles/" title="profiles" rel="tag">profiles</a>, <a href="http://zedomax.com/blog/tag/profile_directory/" title="profile_directory" rel="tag">profile_directory</a>, <a href="http://zedomax.com/blog/tag/skeleton_code/" title="skeleton_code" rel="tag">skeleton_code</a>, <a href="http://zedomax.com/blog/tag/thunderbird/" title="thunderbird" rel="tag">thunderbird</a>, <a href="http://zedomax.com/blog/category/technology/web-technology/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/category/technology/web-technology/webapp/" title="WebApp" rel="tag">WebApp</a>, <a href="http://zedomax.com/blog/tag/wizard/" title="wizard" rel="tag">wizard</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2007/03/29/diy-hack-how-to-use-your-gmail-account-as-ftp-storage-using-a-firefox-extension/" title="DIY HACK &#8211; How to use your gmail account as FTP storage using a Firefox Extension (March 29, 2007)">DIY HACK &#8211; How to use your gmail account as FTP storage using a Firefox Extension</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/16/zedomax-worlds-fastest-digger-on-google-search/" title="Zedomax World&#8217;s Fastest Digger on Google search! (March 16, 2007)">Zedomax World&#8217;s Fastest Digger on Google search!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/03/zedomax-in-modded-plastic-soldier-format-fire-in-the-hole/" title="Zedomax in modded plastic soldier format &#8211; &#8220;Fire in the hole!&#8221; (April 3, 2007)">Zedomax in modded plastic soldier format &#8211; &#8220;Fire in the hole!&#8221;</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/08/zedomax-diy-how-to-make-a-simple-green-laser-projector/" title="Zedomax DIY &#8211; How to Make a Simple Green Laser Projector! (May 8, 2008)">Zedomax DIY &#8211; How to Make a Simple Green Laser Projector!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/23/wireless-hack-how-to-make-your-own-wireless-detecting-vibrator/" title="Wireless HACK &#8211; How to make your own wireless detecting vibrator! (March 23, 2007)">Wireless HACK &#8211; How to make your own wireless detecting vibrator!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/28/wii-hack-wiinja-nintendo-wii-mod-chip/" title="Wii HACK &#8211; Wiinja &#8211; Nintendo Wii Mod chip? (March 28, 2007)">Wii HACK &#8211; Wiinja &#8211; Nintendo Wii Mod chip?</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/23/wii-hack-wii-loop-machine/" title="Wii HACK &#8211; Wii Loop Machine (March 23, 2007)">Wii HACK &#8211; Wii Loop Machine</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/23/wii-hack-wii-controller-led-mod/" title="Wii HACK &#8211; Wii Controller LED Mod (March 23, 2007)">Wii HACK &#8211; Wii Controller LED Mod</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/23/wii-hack-solar-powered-wii/" title="Wii HACK &#8211; Solar powered Wii! (March 23, 2007)">Wii HACK &#8211; Solar powered Wii!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/27/whoosh-boom-splat-for-projectiles/" title="Whoosh Boom Splat for Projectiles (March 27, 2007)">Whoosh Boom Splat for Projectiles</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/01/we-are-shutting-down-our-blog-for-good/" title="We are shutting down our blog for good (April 1, 2007)">We are shutting down our blog for good</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/04/video-goggles-for-your-ipod/" title="Video Goggles for your iPod! (April 4, 2007)">Video Goggles for your iPod!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/22/touchscreen-smart-mirror/" title="Touchscreen Smart Mirror (March 22, 2007)">Touchscreen Smart Mirror</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/20/stretch-ferrari-limousine-made/" title="Stretch Ferrari Limousine Made! (March 20, 2007)">Stretch Ferrari Limousine Made!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/19/spam-bot-protection-bad-behavior-plugin-for-bloggers-and-wikis/" title="Spam-bot protection &#8211; Bad Behavior Plugin for Bloggers and Wikis (March 19, 2007)">Spam-bot protection &#8211; Bad Behavior Plugin for Bloggers and Wikis</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/26/solar-lawnmower-and-mopbot/" title="Solar Lawnmower and Mopbot (March 26, 2007)">Solar Lawnmower and Mopbot</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/24/remote-controlled-golf-ball/" title="Remote Controlled Golf Ball (March 24, 2007)">Remote Controlled Golf Ball</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/27/reliance-on-gps-mercedes-splash/" title="reliance on GPS -> Mercedes Splash (March 27, 2007)">reliance on GPS -> Mercedes Splash</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/20/real-time-audio-driven-drum-controller/" title="Real-time audio driven drum controller (March 20, 2007)">Real-time audio driven drum controller</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/19/open-air-rotating-pizza-oven/" title="Open air rotating pizza-oven (March 19, 2007)">Open air rotating pizza-oven</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/04/19/diy-hack-how-to-make-your-own-firefox-extension-from-scratch-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
