Comments (4)
As far as I understand, the WebExtension API does currently not provide any way to control this. The tabs.create() API also loads the page:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/tabs/create
I also encountered long loading times when switching groups. The advantage is, that tabs of not-selected groups don't eat up any memory or cpu power...
But nonetheless there are discussions about a tab hiding API, I don't know what the state of it is:
https://www.ghacks.net/2017/08/02/mozilla-makes-tab-hiding-api-a-priority/
from tabmarks.
Thanks for your work @hupf.
State preservation would be huge improvement, hope @Firefox move on this.
Direct link to the bug issue
from tabmarks.
In this article a planned tabs.discard API is mentioned.
There is also this open feature request: Support the "discarded" property inside browser.tabs.create().
from tabmarks.
I guess you could try finding the tab using the sessions API for now, though it is almost impossible to identify the correct target to restore, since you can't go by tab id, only by url and title.
Also, discarding only unloads a tab, it doesn't hide it, hiding is a separate thing, see https://mail.mozilla.org/pipermail/dev-addons/2017-October/003320.html for the latest news on the API that is best suited for tab group add-ons.
from tabmarks.
Related Issues (17)
- TabGroups import
- Widen group label
- Lazy load tabs when switching between groups HOT 1
- Close group doesn't remove it
- Loss of bookmarks possible when switching groups
- Popups are blank HOT 7
- Tabs created in default container
- Tab order changed on group switch
- Still under development? or chosen another tool?
- I18n support
- Chrome support
- Group creation when no group is selected (e.g. in new window or for first-time-users)
- Allow to close a group
- Sync bookmark changes to tabs when group is open
- Polishing
- Hint to enable "Show your windows and tabs from last time" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabmarks.