Comments (1)
Hi @Pictor13 I appreciate you taking the time to make this issue. I just rearchitected and rewrote xTab and released version 1.0.0. It is going to be a slow rollout, but it is available in the Chrome Web Store to try.
Version 1.0.0 implements a bunch of the features you suggested. Will touch on each briefly.
allow to disable block/extension; or allow to specify 0/null as value to disable the functionality (now everything lower than 1 is just working the same)
This is an interesting idea, but there are already two ways to do this. You can use the default Chrome extension behavior by right clicking -> Selecting “Manage Extensions” and then turning it off. You can also set the limit temporarily to some very high number so that nothing happens. I haven’t personally felt the need to toggle it on and off, but perhaps it may be added in the future.
allow per-window setting, and an option to switch the functionality from global to per-window (maybe allow to specify a global max number of tabs regardless of what window they are located)
This is implemented behind a flag in version 1.0.0, but it is not exposed in the UI. Default behavior is maximum limit per window vs. globally. I may expose it in a future version.
add setting to not close audio and/or pinned tabs
A setting has been added for whether to close audible tabs or not. As of version 1.0.0, pinned tabs and audible tabs will not be closed by default. I do not want to add a setting for pinned tabs because by their nature I believe if you pin something you do not want it to be closed.
add notification/reminder of blocked tabs (for when opening links from outside the browser and the tab gets shut down)
This is implemented at least somewhat in the new version. It will show a message when you try to open a tab beyond your limit. (There is a setting to disable it and use the old behavior of blocking immediately).
allow to replace/load a tab (least accessed/used/etc) instead of closing it (so one can use history to recover the previous content)
This is implemented in the new version as well (disabled by default):
ensure the extension works with other famous ones (e.g. restoring tabs from OneTab, without loosing tabs in case the restored ones are more than the xtab limit)
I am not sure this is actually possible since xTab depends on the browser events themselves, and if you restore a large session from OneTab, I don’t think it is possible to detect.
I am going to close this issue, but feel free to make others if you have other suggestions/features/ideas. From 1.0.0 on I plan on continuing development in private, and I haven’t decided if I will make the new code open source or not.
from xtab.
Related Issues (17)
- Do not close music tab, no matter what HOT 8
- Don't block opening Chrome apps that don't require a Tab for example Google Hangouts
- How to download the old version of the Chrome extension? HOT 4
- cannot find setting to set max number of tabs per window please advise HOT 1
- You can bypass the tab limit by opening a new window HOT 3
- [Request] Lock settings change for given time frame
- [Request] Add list of suppressed tabs
- Resort to not change URL when limit reached HOT 3
- [Request] Option to auto-close duplicate tabs
- Reuse old tab instead of opening new HOT 1
- Option to limit overall number of tabs in all windows, not only per window HOT 1
- xtab on terminal server HOT 1
- Please consider releasing the xtab addon for Firefox on addons.mozilla.org HOT 3
- Enhancement Request: Detect duplicate tabs
- Display notification when blocking tab HOT 1
- Warn before closing or allow a undo HOT 2
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 xtab.