PbNation Toolbar

From this thread in the Suggestion Box forum, I decided to have a go at making a toolbar. It doesn't look too hard.

I based it off of the Hello world extension from roachfiend. It's not too recent, but gets the job done. Basically, I just changed all the information from "helloworld" to "pbntoolbar." I ended up missing a couple or just flat out misspelling it, which led to about 10 minutes of problems.
After editting all the files and getting it working, I found this page. Used the first toolbar code, (not the second paqrt dealing with how to put a menu button, that would've been too smart on my part), and some from the people search toolbar. That led to about 10 more minutes of wondering why the hell the button wasn't a menu. Turns out you need

type="menu"

in the toolbar part.

But anyways, I got it working, though it only shows the menu. The rest is just javascript to request pages and such, which should be easy enough.

screenshot

Download the xpi

Leave a Reply