• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

Need help (Firefox, Mouse Gesture and Javascript related)

Status
Not open for further replies.

StoOgE

First tragedy, then farce.
Ok.. Ive been wanting to make a custom gesture for mouse gestures extension for firefox that closes a tab. I have no idea how to do it (I know how to make a custom tab, just not this one)., any help would be appreciated.

If this helps, I need the Javascript to open a new tab.. I know how to open one...

var browser = getBrowser();
var link = 'http://www.iwantbishoptlsbabies.com';
tab = browser.addTab(link, getReferrer(document));

but no idea how to close one..:
 
Status
Not open for further replies.
Top Bottom