Setting up a script in Firegestures to return to the Fast Dial page with a gesture

Thanks to this post by Userlogos member vince2010091 on how to set up Firegestures in Fast Dial, I thought I would put something together here for non Firegestures users.

What Firegestures does is that it allows you to make commands out of simple drawn shapes.

Once you get used to this, it is very quick and intuitive.


So download Firegestures from AMO


Go to Firefox Addons Page, find Firegestrures and click on Options:


And then Mapping:



Copy paste in this string:

Name : Fast Dial

Script :
const URL = "chrome://fastdial/content/fastdial.html";
const IN_NEW_TAB = true;
const IN_BACKGROUND = false;
if (IN_NEW_TAB)
gBrowser.loadOneTab(URL, null, null, null, IN_BACKGROUND, false);
else
gBrowser.loadURI(URL);

Gesture :DRUL
(If you know of other Firegestures gestures please enter you own gesture.)


DRUL is a square drawn anti-clockwaise with the right mouse button held down.
So Down-Right-Up-Left
This can take a number of forms
But a small case b would seem to work, as does a 6.
This is the more complete gesture:


I have to say in relation to Fast Dial that this gesture is also very useful, as it removes tabs.

This is DR.
Down-Right.
A Firegestures gesture to close a tab.
As Fast Dial is always there in the last tab, this is also a good way to return to Fast Dial.
No need to set up a script.
Here is the Gesture

For more information on different Firegesture Gestures, please see here


You can see which gestures have already been assigned by Firegestures, by examining this page in detail:

Enjoy !


PS
As I use userlogos.org a lot, so I put this little script together

const URL = "userlogos.org";
const IN_NEW_TAB = true;
const IN_BACKGROUND = false;
if (IN_NEW_TAB)
gBrowser.loadOneTab(URL, null, null, null, IN_BACKGROUND, false);
else
gBrowser.loadURI(URL);

Used the gesture DRU which was assigned elsewhere by Firegestures.
DRU is the shape of a U drawn on the page with right mouse held down
Works great !

So U for Userlogos... :-)


Also a gesture for Picamamtic

const URL = "picamatic.com";
const IN_NEW_TAB = true;
const IN_BACKGROUND = false;
if (IN_NEW_TAB)
gBrowser.loadOneTab(URL, null, null, null, IN_BACKGROUND, false);
else
gBrowser.loadURI(URL);

GestUre:URDL


This gesture (URDL) seems to work:
Up-Right-Down-Left

So can look like a box:

Can also Look like a P

So P for Picamatic !


So all this seems to work fine.
Firegestures is quite handy, especially if you work full screen.


Once you have Firegestures installed it is quite fun trying out different gestures and see where it takes you

Try drawing a circle (anti-clockwise, with right mouse click down).....
O (LDRUL) for ........