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