mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 04:40:20 +01:00
parent
7cd89dec99
commit
7037804b6f
@ -627,6 +627,10 @@
|
||||
"message": "Für die ausgewählten APIs werden keinerlei Benachrichtigungen angezeigt.",
|
||||
"description": ""
|
||||
},
|
||||
"localFile": {
|
||||
"message": "lokale Datei",
|
||||
"description": ""
|
||||
},
|
||||
"ignorelistDomain": {
|
||||
"message": "verschweige Domain",
|
||||
"description": ""
|
||||
|
@ -661,6 +661,10 @@
|
||||
"message": "No notifications will be displayed for the selected APIs.",
|
||||
"description": ""
|
||||
},
|
||||
"localFile": {
|
||||
"message": "local file",
|
||||
"description": ""
|
||||
},
|
||||
"ignorelistDomain": {
|
||||
"message": "silence domain",
|
||||
"description": ""
|
||||
|
@ -109,7 +109,7 @@
|
||||
node.appendChild(document.createTextNode(messageParts.shift()));
|
||||
while (messageParts.length){
|
||||
var urlSpan = document.createElement("span");
|
||||
urlSpan.textContent = this.domain;
|
||||
urlSpan.textContent = this.domain || extension.getTranslation("localFile");
|
||||
urlSpan.className = "url hasHiddenActions";
|
||||
urlSpan.appendChild(this.actionsNode());
|
||||
node.appendChild(urlSpan);
|
||||
|
@ -68,7 +68,9 @@
|
||||
value: "^" + url.replace(/([\\+*?[^\]$(){}=!|.])/g, "\\$1") + "$"
|
||||
};
|
||||
});
|
||||
choices.unshift(domain);
|
||||
if (domain){
|
||||
choices.unshift(domain);
|
||||
}
|
||||
return modalChoice(
|
||||
selectText,
|
||||
choices
|
||||
|
@ -3,7 +3,7 @@ Version 0.5.12:
|
||||
-
|
||||
|
||||
new features:
|
||||
-
|
||||
- enabled whitelisting of local files
|
||||
|
||||
fixes:
|
||||
- detect when browser.contextualIdentities.onRemoved is not supported
|
||||
|
Loading…
x
Reference in New Issue
Block a user