Giter VIP home page Giter VIP logo

max-tabs's Introduction

Max Tabs

Max Tabs is a simple Firefox extension that does these:

  • Set a maximum number of tabs opened in a window.
  • Control and restrict oneself from opening too many tabs.
  • Prevent tabs from overloading and overflowing the tab bar.

Development

Note: This repo does NOT rely on global install of jpm. It's installed locally.

  • npm install - Install all dependencies
  • npm start - Run the extension on Firefox (stable) with a new temporary profile
  • npm run package - Package the extension into an XPI file

Localization

Help translate Max Tabs!

License

MPL 2.0.

max-tabs's People

Contributors

cheeaun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

max-tabs's Issues

external triggered tab

I guess this isn't possible, but maybe you know something I don't.

Is it possible to point tabs opened by external apps to a new window if the tab limit is reached?

Sometimes we lost something important because of the limit.

Thanks!

Not working in Firefox 23.0

The extension is not working for me. After installing (and ever restarting the browser to ensure) it does not avoid me from opening new tabs beyond the established limit in Extension Options.

The extension does not provides any error. It simply install correctly and then does nothing:

Screenshot of configuration and tabs beyond limit

The enviroment conditions are the next:
Firefox 23.0 (with NoScript, Adblock and DownloadThemAll installed too)
Ubuntu 13.04
64 bits PC

If there is something that I could do to fix (or debug) this, do not hesitate on telling.

open tab on next available window

Hi!

Thanks for the last update.


Sometimes, when we have more than one window open, firefox uses the last one focused to open links.

Is it possible to open the link on the other window, if this one is full?

Thanks!

Alternative counter โ€” reversed

E.g. "-10" instead of "90/100". This notation does not require mental calculation to know how many tabs left. Also it is shorter and less likely will be cropped.

Soft limit feature

When user opens a new tab and exceeds the limit, the tab will be opened but a notification will pop up. Basically notification will pop up every single time as long as it exceeds the limit.

[EXPIRED] Pale Moon support

Dear Lim Chee Aun, could you be so kind to explore the possibility of making Max Tabs compatible with Palemoon (which is an optimized fork of Firefox ESR 24)?

Tab diet

In addition to a hard limit, allow to set a number of tabs per week by which the limit will be reduced down to a preferred minimum. This allows users to start out with a high tab count and continually decrease it until they reach an amount they are comfortable with.

Changing the Max-Tab icon displayed tab limit from '99+' to '999+'

I tend to run Firefox with ~150 tabs for research, and I can handle that - but not over 200!

So it would be nice if the Max-Tab icon tab display limit could be changed from '99+' to '999+'.

(Other things I'd like to see: limit for number of windows, and limit for total number of tabs in all windows.)

Thanks!

maxtabs = 1 ignored

If I set the maximum number of tabs to 2, 3, or 14, MaxTabs lists the correct result.

But if I set it to 0 or 1, it jumps back to using 10.

You should disallow the 0 case or disable MaxTabs in that case (0 == +infinity).
I want to use the 1 case is because I'm using a tiling Window manager, which means all my windows are already tabs, and embedded tabs are irritating. I realize you intended your code to be a focus aid, not a UI hack, but it happens to be good for that for me :) -- or it would be if it didn't glitch out on this case.

Thank you.

Count tabs per Group

Firefox Tab Groups are currently ignored - so only the total count of all groups matters.
Is it possible to have a maximum number of tabs per group?

crash on nightly when clicking link that opens in new tab

I've been seeing a crash for a while on Nightly, I can easily repro:

<!DOCTYPE html>
<html>
  <body>
    <a target="_blank" href="repro.html">click me</a>
  </body>
</html>

Open 10 tabs (default limit), load this in one of then and click the link.

Tab indicator resets after browser shutdown

The tab indicator, which is placed in the addon bar by default resets itself after every browser shutdown. If you manually drag it to the toolbox so it isn't shown anymore, it will be back in the addon bar after a browser shutdown.

Normally this didn't bother me so much because I just hid the addon bar. But if you test out the current nightlies with the new australis design it stands in the main navigation toolbar and can't even be moved. The addon bar is removed in the australis redesign.

Can you fix this please?
I think not much users are going to like this when Australis lands in the normal releases.

Thank you!

ignore system tabs

Hi! You add-on is really useful. It helps me to improve my productivity.

Is it possible to make it ignore tabs whose address use the following protocols?

  • chrome:
  • about:
  • resource:
  • view-source:

Thanks!

Max Tabs for Android

I'd like to see Max Tabs working in Firefox for Android. How much would it cost to port it to this platform? Thank you!

prevent duplicated tabs

Hi!

Is it possible to check if an tab is already open and, if so, focus the original one?

Prevent duplicates is important to limit the number of tabs. Also, if you hit the limit of tabs, to be reminded of an already opened tab is a good thing.

Thanks!

Make button width adaptive

Currently, the button width is hard-coded to 30 pixels. It should adapt to the width of the numbers, especially when the user set the max limit to a huge number e.g.: 10/100.

Screenshot of cropped text in the button

The numbers are cropped due to the hard-coded width.

Max windows

A feature to limit the number of windows.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.