webextension-max-tabs
v0.0.1
Published
Set the maximum number of tabs that can be open
Downloads
4
Maintainers
Readme
firefox-max-tabs
Extension for setting the max tabs per window.
Development
NOTE: the following instructions are only tested on a Mac, but it should apply to any Unix system. If you're on Windows, try using the Linux subsystem, or submit PRs to update these docs and procedures for Windows systems.
Accordingly, I don't know how well this works on Microsoft Edge just yet. I will likely test that soon.
Before you begin...
- Ensure Firefox is installed, at least version 48 (since that's when Web Extensions were introduced).
- Ensure you have
npm
installed. cd
into the directory- Run
npm install
Running the extension
Run npm start
. It should open in Firefox automatically.
Building the extension
Run npm build
. The extension will be outputted to
TODO: fill in where it gets outputted
Structure of the extension
I wrote this extension as a Node project in Typescript. I used Webpack to combine the modular code into a bundled script.
The source code is in src/
, which Webpack outputs to the
__build/
directory.
Credits
Icon
The icon uses the Overpass font, created by Red Hat under the SIL open source license. It can be found here: https://www.fontsquirrel.com/fonts/overpass