mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 12:36:37 +02:00
Removed bug with "add to ignore list"-button & added translations for prompts.
Fixes #41.
This commit is contained in:
parent
0f575a7aed
commit
6c806583f0
5 changed files with 15 additions and 7 deletions
|
@ -51,7 +51,7 @@ function getDomainRegExpList(domainList){
|
|||
|
||||
var lists = {
|
||||
white: [],
|
||||
ignore: [],
|
||||
"ignore": [],
|
||||
black: []
|
||||
};
|
||||
|
||||
|
@ -78,7 +78,7 @@ exports.appendTo = function appendToList(type, entry){
|
|||
"use strict";
|
||||
|
||||
prefs[type + "List"] += (prefs[type + "List"]? ",": "") + entry;
|
||||
prefService.set("extensions.CanvasBlocker@kkapsner.de.whiteList", prefs[type + "List"]);
|
||||
prefService.set("extensions.CanvasBlocker@kkapsner.de." + type + "List", prefs[type + "List"]);
|
||||
updateList(type);
|
||||
};
|
||||
exports.update = updateList;
|
Loading…
Add table
Add a link
Reference in a new issue