1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

added "share persistent randomness between domains"

Fixes #290
This commit is contained in:
kkapsner 2018-10-25 13:42:18 +02:00
parent 9dcb1f8903
commit 947d9e0c59
9 changed files with 131 additions and 6 deletions

View file

@ -279,5 +279,23 @@
}
}
},
{
name: "privacy",
check: function(errorCallback){
if (settings.sharePersistentRndBetweenDomains){
errorCallback({
message: browser.i18n.getMessage("sanitation_error.doNotSharePersistentRndBetweenDomains"),
severity: "high",
resolutions: [{
label: browser.i18n.getMessage("sanitation_resolution.disableFlag")
.replace(/{flag}/g, browser.i18n.getMessage("sharePersistentRndBetweenDomains_title")),
callback: function(){
settings.sharePersistentRndBetweenDomains = false;
}
}]
});
}
}
},
];
}());