1
0
Fork 0
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:
kkapsner 2017-12-03 23:47:49 +01:00
parent 78a0ccc243
commit 01780da9f5
10 changed files with 618 additions and 78 deletions

View file

@ -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);