Reviews for Foxy Gestures
Foxy Gestures by liebs
Review by Firefox user 14478087
Rated 5 out of 5
by Firefox user 14478087, 6 years agoTo open the home page with a gesture, when it is set to "Firefox Home" (=about:newtab, aka what you see when opening a new tab by default) do this:
Add-Ons>Extensions>Foxy Gestures>Options>User Scripts (accept the warning)
Record the gesture in the left box
Paste this in the right box (also give the script some name):
executeInBackground(() => {
getActiveTab(tab => browser.tabs.create({
index: tab.index + 1,
active: false
}));
getActiveTab(tab => browser.tabs.remove(tab.id));
}, [ ]);
You're welcome.
PS: the developer of this extension should add this as a workaround to this limitation of WebExtensions.
Add-Ons>Extensions>Foxy Gestures>Options>User Scripts (accept the warning)
Record the gesture in the left box
Paste this in the right box (also give the script some name):
executeInBackground(() => {
getActiveTab(tab => browser.tabs.create({
index: tab.index + 1,
active: false
}));
getActiveTab(tab => browser.tabs.remove(tab.id));
}, [ ]);
You're welcome.
PS: the developer of this extension should add this as a workaround to this limitation of WebExtensions.