Pile of Stuff

Toggle Keyboard Shortcuts From Outside of Firefox!

First of all little background why I thought this was a good idea. For most of my time I’m working as web developer and have two monitor workstation. So easiest way is to write code in one monitor and “review” it as web page on other one (inside web browser). But that makes a lot of work to navigate between them. Click there, click here. And even if you use Ctrl + Tab it’s more than two keyboard shortcut away from reloading that page.

And I know that out there is XRefresh, but not every time when code has been edited there is need for refresh, because it might just be a little change (like added comment, that will not appear in page anyways) or I just don’t feel like reloading.

So in scene comes httpK3y - small server inside Firefox/Prism add-on, that you can control via HTTP. It has simple API and is easy to configure. Works cross platform (Windows, Linux, Mac OS X) and only dependencies are Firefox (3.6 and up) or Prism (1.0 and up).

You can read on about how to use httpk3y in README, but I will give you simple example how I use it in Mint (Ubuntu).

$ wget http://localhost:7700/key_reload --spider --no-cache

Simple as that! And here you can grab package for Firefox or/and Prism. Have fun!

P.S. Questions?