Skip to content

mos3abof/power-close

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Power Close

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!

Building Locally

  1. Install dependencies npm install
  2. Build plugin
    • non-minified node grunt dev
    • minified node grunt [dist] # by default runs the 'dist' task

Note: Due to an issue in grunt-jpm where it requires grunt 0.4.0 as a peer dependency, step 1 might fail. As a work around please modify the package.json file for grunt-jpm peerDependencies to "grunt": ">=0.4.0". And please bump this pull request to fix it: rpl/grunt-jpm#9

Usage

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!

Icon

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.

License

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.