life ideas

December 4, 2006

Creating FireFox extensions » gHacks tech news

Filed under: Uncategorized — manoftoday @ 11:03 pm

 

Creating FireFox extensions

Saturday, December 2nd, 2006 | Author: Dearon | In firefox | Trackback |

Did you ever have a great idea for a Firefox extension but didn’t know how to do it, well it isn’t that hard! To begin you only need some knowledge of javascript, which is even required since it isn’t that hard ;) There are 2 options, a “simple” way and a “hard” way, of course both have their advantages and disadvantages.

The simple option uses the greasemonkey extension. The advantages of greasemonkey is that you don’t have to deal with installing an extension and restarting Firefox over and over again. Also you only need to care about your script. Greasemonkey allows you to install javascript files which you can apply to all sites, or only certain site. You can check out how to make scripts for greasemonkey or browse an collection of greasemonkey scripts.

The hard option is making an extension directly. This involves making scripts like with greasemonkey, but also adding files which tell Firefox the details about the script. Downsides are that you have to repack and restart every time you modified your script (i believe there was a solution to this, but i don’t know for sure)

Upsides are that you can do a lot more then you can with greasemonkey and you can distribute your extension a bit easier.
You can find a nice tutorial about creating extension at roachfriend.com.
Also check out the links at the bottom of the tutorial if you get stuck, the forum he links to for example can be a big help.

Source: Creating FireFox extensions » gHacks tech news

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: