0.0.1 • Published 7 years ago

webextension-max-tabs v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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...

  1. Ensure Firefox is installed, at least version 48 (since that's when Web Extensions were introduced).
  2. Ensure you have npm installed.
  3. cd into the directory
  4. 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