mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +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"),
|
||||
accessKey: "",
|
||||
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