Skip to content

Commit

Permalink
icons
Browse files Browse the repository at this point in the history
  • Loading branch information
werty1st committed May 7, 2020
1 parent 2de923c commit 9b66288
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
Binary file modified images/icon128.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icon256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/icon48.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icon96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"scripts": [ "background.js" ]
},
"icons": {
"256": "images/icon256.png",
"128": "images/icon128.png",
"96": "images/icon96.png",
"48": "images/icon48.png"
},
"permissions": [ "tabs", "storage" ],
Expand Down
28 changes: 22 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,38 @@ _Because I coudn't find a public github repository of the original extension, to

The updated version is able to switch between blacklist and whitelist mode.

### Blacklist Mode
## Blacklist Mode

The default setting is the blacklist mode. All Popups are converted to Tabs.

If you want to disable that behavior disable the switch on that specific site.
* ![](./screen/option1.png)

### Whitelist Mode
* <img src="./screen/option1.png" width="480">

## Whitelist Mode

You can use the options to switch to the whitelist mode.
* ![](./screen/option2.png)
* <img src="./screen/option2.png" width="480">

All new popups are untouched until specifically enabled.
* ![](./screen/option3.png)
* <img src="./screen/option3.png" width="480">

Page whitelisted
* ![](./screen/option4.png)
* <img src="./screen/option4.png" width="480">


## Missing Features

The white/black listing only works with the target URL. Not the URL of the page which opens the new popup window.

### Example

Page www.foo.com/popup.html opens a new window with the url www.foo.com/bar.html

Switchting options at www.foo.com/popup.html will not result in changing the behavior of www.foo.com/bar.html

You need to toggel settings at www.foo.com/bar.html to have the desired effect.



# Contributions welcome

0 comments on commit 9b66288

Please sign in to comment.