foxygestures icon indicating copy to clipboard operation
foxygestures copied to clipboard

Go Home gesture no longer works for about:home

Open RoninStorm opened this issue 6 years ago • 3 comments

Something in the recently updated FF 61.0 release has broken the Go Home gesture. Other gestures work fine (e.g. New Tab, Close Tab, History Back, etc).

This is also true for a user script gesture that I wrote before Go Home was a built-in gesture, specifically:

executeInBackground(() => {
   getActiveTab(tab => browser.tabs.update(tab.id, { url: 'about:home' }));
});

It's one of my most used gestures so hopefully it'll be possible to patch it back in!

RoninStorm avatar Jun 29 '18 15:06 RoninStorm

As a by the by, I can cheat the effect I want of returning to about:newtab by using the following user script:

executeInBackground((data) => {
   commandCloseTab(data);
   commandNewTab(data);
});

But obviously this is destructive to browsing history from the tab that's been force closed.

RoninStorm avatar Jun 29 '18 15:06 RoninStorm

According to the documentation, you cannot pass about:newtab to browser.tabs.update({url:. ...}) but you can pass about:home. However, that not longer seems to be the case: image So it seems like this change is internal to Firefox. However, if your homepage is set to a real URL like https://reddit.com, then Go Home command is working fine.

marklieberman avatar Jun 29 '18 16:06 marklieberman

Related BugZilla bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1269456 https://bugzilla.mozilla.org/show_bug.cgi?id=1400555

marklieberman avatar Jun 29 '18 16:06 marklieberman