Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

waltman (335)

  (email not shown publicly)

Journal of waltman (335)

Wednesday July 30, 2008
12:11 AM

My first Firefox extension

[ #37053 ]
I've done a lot of unexpected things in grad school, but I never thought I'd find myself writing Firefox extensions. But we're doing some experiments in finding patterns in web browsing, and I needed to add an entry to the Firefox history database when the user hits the back button. Firefox doesn't normally do this, but a developer hanging out on #firefox assured me it was possible.

It turned out to be only about 10 lines of javascript, but of course coming up with the right 10 lines of javascript, and figuring out how to package them into an extension, took all day.

I'll try to post more details once I get a chance to clean out all my debugging code and hopefully make a more minimal version than what I have.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Cool! I'd be interested in this. Can you just publish what you have and then clean it up?
    • It turns out what I had had a few bugs in it. I think I found them all, and also cleared out all the cruft. (I based it on a sample app that was doing a lot more than I needed.)

      I'll try to post the code tonight.