maximbaz / container-tab-flow

Firefox extension: stay within the current container when closing a tab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Container Tab Flow

Container Tab Flow is a Firefox extension that helps you stay within the current container when closing a tab.

How It Works

The extension follows these rules to determine which tab to activate upon closing the current tab:

  1. If there's a tab to the right within the current container, activate it.
  2. Otherwise, if there's a tab to the left within the current container, activate it.
  3. Otherwise, the built-in Firefox logic kicks in, which by default works as following: a. If there is a tab to the right, activate it. b. Otherwise, if there is a tab to the left, activate it.

Installation

  1. Download the extension from the Firefox Add-ons page.
  2. Follow the on-screen instructions to add the extension to your browser.

License

This project is licensed under the ISC License.

Acknowledgments

  • The contents of all text files in the first commit was written by GPT4, as an experiment to see if it can be prompted to write a Firefox extension with the desired behaviour in its entirety.
  • Tab icons created by Freepik - Flaticon.

About

Firefox extension: stay within the current container when closing a tab

License:ISC License


Languages

Language:JavaScript 89.7%Language:Makefile 10.3%