Recently in Misc. Category

URL Shortener and Base 62 Encoder / Decoder

| 2 Comments | 0 TrackBacks
I'm creating yet another URL shortener script.  Why?  Because I'm not keen on over paying for simple scripts -- because, well, I'd be over paying -- and I'm not too keen on using open source scripts -- because the more people using the same script, the more likely people will find exploits in it.  So with all that in mind, I set out to create my own script.
I just upgraded to Firefox 3.0 Beta 5. While everything looks pretty, and works great, I have two gypes:
1) Keyboard shortcuts are acting VERY wonky for user defined keyboard short cuts.  Take for example, on a discussion forum powered by vBulletin, you can often hit Alt + Shift + S (good old Alt + S only if you're from way back like me) to submit the form you're currently on.  As of FireFox 3.0, it seems to now skips back to the first input tag that is associated with the s hotkey and waits for enter (or maybe additional Alt + Shift + S key sequences to cycle through the rest?  I didn't test) to perform the action. 

2) Mouse Gesture addon for 3.0 is horrible, not only the line is green (by default), but it also cannot open new tabs or windows, and seriously lack customizability.  I miss the good old All-in-one Mouse Gesture already...  After some quick poking and prodding, I was able to trick Firefox into installing the addon, and so far, I've not encountered any problem.  So, without further delay, here's a brief step-by-step on how to get it to work on your Firefox 3.0, too.  However, please bare in mind that this guide is provided as is, and I cannot guarentee this will not mess up your computer.  I do not take responsibility for anything that may happen as result of following this guide.

First, head over to the author's website,  where you can download the latest version 0.18, same one as offered on addons.mozillia.org.  The file you're looking for is allinonegest018.xpi.  Right click on it and choose save as to save a copy of it on your local machine.

Once downloaded, open the xpi file with an archive manager.  I am on Ubuntu 8.04, and the default archive manager works.  I would suspect WinZip and WinRAR on windows can handle the file just fine, too.

Look for "Install.rdf" file in the archive.  This file tells Firefox how to install the package.  Extract it and save it some where you can easily access it.

Open the file you've extracted using a text editor, Gedit here, notepad should be fine, too.  Find this line:
<em:maxVersion>2.0.0.*</em:maxVersion>

Replace that with:
<em:maxVersion>3.0.0.*</em:maxVersion>

Save it, and put it back into the archive, overwriting the current "Install.rdf" file.  This essentially makes the package tell Firefox: "Hey, I am compatiable with 3.0 series, too!".

Use the file:// protocol, navigate to the folder you have the edited xpi file saved (IE: file:///home/andy/desktop/ ), and click on it.  Firefox will warn you about it, and then let you install the package.  Restart your Firefox as per usual, and when you come back, you will have it working.

If you don't want to do all these edits yourself, here is a pre-hacked version for the lazy people.  Keep in mind though, I don't provide any warantee on this, and you should use it only at your own risk:
2008_05_06_allinonegest018-hack.xpi
2010_01_21_allinonegest0201-hack.xpi (3.6 Enabled, might be buggy)


Cool! :)  Happy gesturing!

About this Archive

This page is an archive of recent entries in the Misc. category.

MinecraftCoop is the previous category.

OSX is the next category.

Find recent content on the main index or look in the archives to find all content.