mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 21:00:23 +01:00
Added also prompt for adding to ignore list.
This commit is contained in:
parent
9255fb5813
commit
0f575a7aed
Binary file not shown.
@ -55,7 +55,13 @@ exports.notify = function(window, callingStackMsg){
|
|||||||
label: _("ignorelistDomain"),
|
label: _("ignorelistDomain"),
|
||||||
accessKey: "",
|
accessKey: "",
|
||||||
callback: function(){
|
callback: function(){
|
||||||
lists.appendTo("ignore", notification.domain);
|
var domain = browser.contentWindow.prompt(
|
||||||
|
"Input domain to add to ignore list:",
|
||||||
|
notification.domain
|
||||||
|
);
|
||||||
|
if (domain){
|
||||||
|
lists.appendTo("ignore", domain);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user