With extensions Firefox is really customizable. But writing extensions is not easy: We’ll need to learn a lot of things like XUL.
The good news is, with key config and grease monkey, easy scripting like in Emacs is possible.
Grease Monkey allows several script to run when the current domain match a regrexp, which is perfect for non-interactive usage like highlight the search terms.
However some of the grease monkey scripts are urgly: I’d have a script that fill up a form if I hit a key. And when I look at the code, it hooks to every key-release event. And if you have lots of this kind of script, it will slow down your Firefox. And this is where key config comes. I’ve blog it several times. However, besides re-map the key bindings, it allows us to write our own script and assign a key to it, and/or call a function of another extension.
For example, I discovered the “freeze tab” from tab min plus today. And a single line
in prefs.js makes it easy to toggle by Alt-Shift-p. Really handy.
The only thing left is mouse customize. conquer plus drag de go could do something, but it use it’s own script and is only for search things around. All in one gesture may support scripting in the future release. I saw a “add gesture” inactived button in the interface. Anyway I’m a keyboard user and this doesn’t hurt me that much
Tags: firefox, emacs, extension, grease monkey
Post a Comment
You could use <code type="name"> to get your code colorized