The main purpose of this extension is to create, modify or delete groups of tabs. The practical utility is to open a series of tabs and then store the URLs in somewhere, so you can close them, saving memory and processing, since these tabs are not open. At any time, you can open just one tab or the group of stored tabs.
This line is added to check if security pipelines don't trigger when a non-src file is changed
There are alternatives on the market, but when it comes to tab management, most store URLs in local databases within the browser. The problem that I faced was when uninstalling the extension all the URLs were lost. Check several extensions and most use the same system, obviously some allow exporting URLs to browser bookmarks.
Store and manage tab groups directly using the browser's bookmarks feature. You can use the extension and when you decide to disable or delete it, you will still access to your URLs until you manually decide to delete them from the bookmarks.
- Tab groups are stored in “Other Bookmarks”. Firefox does not allow access to other main bookmark folders. Mozilla > Add-ons > Browser Extensions > JavaScript APIs > bookmarks .
- Within “Other Bookmarks”, it is intended to create a sub-folder, for example “Efficient Tab Management”.
- In the “Efficient Tab Management” folder all the groups that the user creates will be stored, for example: Python, video games, Linux and learn to play guitar.
- The user can add the same URL to one or more groups, the administration will depend entirely on the user.
- Ideally, whenever you want to open a previously stored group you close the current tabs, storing previously opened tabs in a group called “Unsaved Tabs”. But, being very invasive, it will be better to leave that option in settings. The purpose is to stay organized, focused and avoid memory consumption due to the number of open tabs.
- The extensions that exist in the market look nice and work well at the UI/UX level. Therefore, it is basically based entirely on these extensions.
- Context menu of the extension in the toolbar.
- Options menu within the context menu.
- Bookmark options in the context menu.
- Visualization of the groups in a tab.
- Change order of groups.
- Move tabs from one group to another.
- Press a hotkey to add the current tab to a group.
Follow the official documentation for develop extension with Mozilla.
.
├── LICENSE
├── README.md
└── src ### Source code of the project.
├── content_scripts ### Run particular context
│ ├── bookmarks.js
│ └── content-script.js
├── icons
│ ├── logo-48px.png
│ ├── logo-96px.png
│ ├── logo.png
│ ├── logo.svg
│ ├── logo.xcf
├── manifest.json ### Entrypoint of the extension
└── popup ### Pop up window when click in the icon
├── menu.css
├── menu.html
├── menu.js
├── page-scripts
│ └── page-script.js
└── scope.html
- Fork the project in your repositories.
- Optional click on this link: Fork this project.
- In the web browser click in the
Fork
button.
- In your computer, clone your forked project.
git clone https://github.com/MY_USER/firefox-extension-efficient-tab-manager.git
- Replace MY_USER with your GitHub user.
- In you computer, go inside the cloned repository.
cd firefox-extension-efficient-tab-manager
- Check the remote references.
git remote -v
- Add this repository as the upstream.
git remote add upstream https://github.com/airvzxf/firefox-extension-efficient-tab-manager.git
- Check again the remote references.
git remote -v
origin https://github.com/MY_USER/firefox-extension-efficient-tab-manager.git (fetch) origin https://github.com/MY_USER/firefox-extension-efficient-tab-manager.git (push) upstream https://github.com/airvzxf/firefox-extension-efficient-tab-manager.git (fetch) upstream https://github.com/airvzxf/firefox-extension-efficient-tab-manager.git (push)
- Update the fetch.
git fetch --all --tags
- Update the pull.
git pull --all
- Create a branch describing shortly the work. For example fix-settings-save-button.
git branch fix-settings-save-button
- Go to the new branch.
git checkout fix-settings-save-button
- Start your work, modifying files.
- Add and commit your changes.
git add .
git commit -m "Fixed the button"
- Push your changes in your branch.
git push
- If it is your first time it will request to execute:
git push --set-upstream origin fix-settings-save-button
- At the moment, your changes are done and the checks are green. You can create a
pull request
.- Go to your repository in the web browser.
- A green button is displayed:
Compare and pull request
. - The creation and follow is intuitive.
Follow this official tutorial: Temporary installation in Firefox . Also, you can re-install at any time to upload your changes.
Any design program or template is welcome but keep aware that the licence should be free/open. Same case for programming.
I develop in WebStorm (JetBrains), but VSC (visual studio code) is welcome, not forget to add the Git ignore references.