suspendtab icon indicating copy to clipboard operation
suspendtab copied to clipboard

Migrate to WebExtensions for Firefox 57 and later

Open AlexBeLi opened this issue 9 years ago • 8 comments

If it's possible, like https://github.com/deanoemcke/thegreatdiscarder

AlexBeLi avatar Mar 17 '17 17:03 AlexBeLi

@piroor will you migrate this addon to WE?

tradewatcher avatar Oct 20 '17 17:10 tradewatcher

It is impossible for now because tabs.discard() is not implemented on Firefox yet. See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1322485

piroor avatar Oct 23 '17 02:10 piroor

It is fixed in Firefox 58 but not 57 :(

def00111 avatar Nov 02 '17 12:11 def00111

I'm very excited that tabs.discard() is going to land. It is a bummer it was a little late for 57, but knowing we won't have to deal with workarounds for suspending tabs in the near future is really good news. I know piroor is still pretty busy with TST, but maybe he will come back to this at some point.

irvinm avatar Nov 02 '17 22:11 irvinm

Implement tabs.discard method for Desktop RESOLVED FIXED in Firefox 58

https://blog.mozilla.org/addons/2017/09/28/webextensions-in-firefox-57/ Tabs now have a discarded state added to the Tab object. It will be set to true if the tab is not loaded with content, for example when restored from a previous session. This is part of getting ready for a tabs.discard API.

Hopefully the addon will work again soon. I have heavy ram issues without suspend tab :D

tradewatcher avatar Nov 03 '17 16:11 tradewatcher

"I have heavy ram issues without suspend tab"

This is a big issue fro me too, have a lot of tabs in four windows in different desktops (Dexpot) and need to keep the number of loaded tabs low.

DHermansson avatar Mar 07 '18 08:03 DHermansson

@piroor I believe the completed tab discard API was officially added in firefox 58

https://bugzilla.mozilla.org/show_bug.cgi?id=1322485 https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/tabs/discard#Browser_compatibility

Ligerx avatar Jul 23 '18 05:07 Ligerx

I think there are some alternative addons:

  • https://addons.mozilla.org/firefox/addon/unload-tabs/?src=search
  • https://addons.mozilla.org/firefox/addon/tab-unloader-we/?src=search
  • https://addons.mozilla.org/firefox/addon/unload-tab/?src=search
  • https://addons.mozilla.org/firefox/addon/auto-tab-discard/?src=search

Especially the last two include a whitelist feature, so It will help you instead of this addon. Have you tried them?

piroor avatar Jul 24 '18 03:07 piroor