A browser extension, for the tab addict, to close all tabs with URLs containing a keyword or a domain name. For example, if you have many facebook tabs open and not in order, you can just use this extension, write "facebook.com", hit enter and voila, all facebook tabs -containing the string 'facebook.com'- are now closed!
Just run make
in the root directory:
$ make
Built plugins will live in the dist
directory:
➜ power-close git:(master) tree dist
dist
├── chrome
│ ├── background.js
│ ├── icons
│ │ ├── 128.png
│ │ ├── 16.png
│ │ ├── 19.png
│ │ ├── 38.png
│ │ └── 48.png
│ ├── manifest.json
│ ├── popup
│ │ ├── popup.css
│ │ ├── popup.html
│ │ └── popup.js
│ └── power-close.zip
└── firefox
├── background.js
├── icons
│ ├── 128.png
│ ├── 16.png
│ ├── 19.png
│ ├── 38.png
│ └── 48.png
├── manifest.json
├── popup
│ ├── popup.css
│ ├── popup.html
│ └── popup.js
└── power-close.zip
After installation, this icon will appear as a button in your browser:
Press on it, and an input field will appear. Write the keyword or domain name in it and press enter, and voila!
The icon used for the logo and the toolbar button is a mash of two icons from Google's Material Design Icons that are published as an open source project under the CC-By License.
In older versions of the addon, the logo used to be one of the icons designed by Freepik from Flat Icon, that was also licensed under CC-BY License, although a different version of it.
Power Close, close browser tabs based on keywords or domain names
Copyright (C) 2014 Mosab Ibrahim
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.