mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 04:40:20 +01:00
parent
9753681651
commit
6c2dbbebf0
@ -40,8 +40,9 @@
|
||||
name: "disableNotifications",
|
||||
isIcon: true,
|
||||
callback: function(){
|
||||
settings.showNotifications = false;
|
||||
window.close();
|
||||
settings.set("showNotifications", false).then(function(){
|
||||
window.close();
|
||||
});
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -69,9 +70,13 @@
|
||||
domain
|
||||
).then(function(domain){
|
||||
if (domain){
|
||||
settings.set("showNotifications", false, domain);
|
||||
settings.set("showNotifications", false, domain).then(function(){
|
||||
window.close();
|
||||
});
|
||||
}
|
||||
else {
|
||||
window.close();
|
||||
}
|
||||
window.close();
|
||||
});
|
||||
}
|
||||
},
|
||||
@ -84,9 +89,13 @@
|
||||
domain
|
||||
).then(function(domain){
|
||||
if (domain){
|
||||
settings.set("blockMode", "allow", domain);
|
||||
settings.set("blockMode", "allow", domain).then(function(){
|
||||
window.close();
|
||||
});
|
||||
}
|
||||
else {
|
||||
window.close();
|
||||
}
|
||||
window.close();
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -119,9 +128,13 @@
|
||||
"^" + url.href.replace(/([\\+*?[^\]$(){}=!|.])/g, "\\$1") + "$"
|
||||
).then(function(url){
|
||||
if (url){
|
||||
settings.set("blockMode", "allow", url);
|
||||
settings.set("blockMode", "allow", url).then(function(){
|
||||
window.close();
|
||||
});
|
||||
}
|
||||
else {
|
||||
window.close();
|
||||
}
|
||||
window.close();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ Version 0.5.1:
|
||||
-
|
||||
|
||||
fixes:
|
||||
-
|
||||
- Changes made in the page action were not saved in all Firefox versions
|
||||
|
||||
known issues:
|
||||
- if a data URL request is blocked the page action button appears but shows no content
|
||||
|
Loading…
x
Reference in New Issue
Block a user