mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 12:36:37 +02:00
Added also prompt for adding to ignore list.
This commit is contained in:
parent
9255fb5813
commit
0f575a7aed
2 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue