mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Added URL specific settings
For blockMode and showNotifications. Fixes #148.
This commit is contained in:
parent
78a0ccc243
commit
01780da9f5
10 changed files with 618 additions and 78 deletions
|
@ -58,7 +58,7 @@
|
|||
port.onMessage.addListener(function(data){
|
||||
if (data.hasOwnProperty("canvasBlocker-notify")){
|
||||
if (
|
||||
settings.showNotifications &&
|
||||
settings.get("showNotifications", url) &&
|
||||
!lists.get("ignore").match(url)
|
||||
){
|
||||
browser.pageAction.show(port.sender.tab.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue