thePaulV / Most-Recent-Tab

Firefox addon that adds a keyboard shortcut to switch back to your most recently selected tab. Useful to alternate between two tabs and to easily go back to your last tab if you switch to another briefly.
https://addons.mozilla.org/en-US/firefox/addon/most-recent-tab/
Mozilla Public License 2.0
12 stars 4 forks source link

Feature request: trigger the action by clicking on current tab. WAS: Same feature, but by clicking on the current tab #2

Open murdos opened 6 years ago

murdos commented 6 years ago

I was using Tab Mix Plus that provided a very similar feature, but by clicking on the current tab, the most recent tab was open instead. Do you think you can also add this behavior in addition to the keyboard shortcut? That would be great!

thePaulV commented 6 years ago

@murdos, According to Firefox bug #1246706 there is no method in the new WebExtensions API to hook clicks on tabs and no current plans to enable that. Sorry for the bad news! I'll leave this issue open in case that API is ever added.

ravenx99 commented 6 years ago

This is disappointing... I find this is the feature I miss most from TMP. I have Most-Recent-Tab and really appreciate it, but I keep clicking on the current tab before I remember I have to use the button. Thanks for trying!

neube3 commented 6 years ago

Just came here to say I feel the same as ravenx99 and murdos.

Thank you for this extension.

Since Mozilla deemed the bug you linked "Wontfix", it's the closest we can get to the old TMP feature.

My only hope now lies with the fact Mozilla expressed a vague interest in helping with porting TMP, so maybe one day we get just the bit of API required for this.