My first Firefox extension!

Published August 21, 2005
Advertisement
That's right! I didn't feel like working on my game today, so instead I learned how to write Firefox extensions. Its called Goto Gamedev.net. It provides a toolbar icon that takes you to gamedev.net when you click on it. It even supports tabbing via middle-click. Here's a screenshot.

To install, try clicking here first. If this doesn't work, you'll have to download it first. Then, from the Firefox File menu, choose Open File... and select goto-gamedev.net.xpi. Clicking on it directly doesn't seem to work for me.
Previous Entry More UI stuff
Next Entry Animated avatars!
0 likes 4 comments

Comments

TraderJack
How did you do the sidebar in the last entry?

-IV
August 21, 2005 09:12 PM
dcosborn
The CSS is here. In case you can't access it:
/* left sidenote */
h5
{
	background-color: #746;
	display: block;
	float: left;
	font-size: 1em;
	font-weight: bold;
	margin: .5em .5em 0 .5em;
	padding: .25em .5em;
	text-align: left;
	width: 25%;
}
h6
{
	background-color: #324;
	clear: left;
	display: block;
	float: left;
	font-size: 1em;
	font-weight: normal;
	margin: 0 .5em .5em .5em;
	padding: .25em .5em;
	text-align: left;
	width: 25%;
}


To use it, just enclose the heading in H5 tags and the body in H6 tags.
August 21, 2005 09:19 PM
Rob Loach
Nicely done!

To have it auto-install, you need to make a hyperlink to something like this:
<a href="j_avascript:void(InstallTrigger.install({'NAME_HERE':'URL_HERE'}))">Auto-Install</a>
August 21, 2005 09:40 PM
dcosborn
Excellent, thanks for the info. I've updated my post. Still doesn't work for me, but then I've been having trouble even with extensions from addons.mozilla.org.
August 21, 2005 09:50 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Advertisement