mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-03 12:06:31 +02:00
Only Firefox < 57 block on pre-intercept
This commit is contained in:
parent
67438d15ff
commit
3fcc5774c2
3 changed files with 32 additions and 22 deletions
|
@ -55,7 +55,8 @@
|
|||
secondFingerprint = fingerPrint();
|
||||
if (firstFingerprint === secondFingerprint){
|
||||
hash(firstFingerprint).then(function(hash){
|
||||
document.body.appendChild(document.createTextNode("fingerprint consistent (" + firstFingerprint + ") -> good!"));
|
||||
document.body.appendChild(document.createTextNode("fingerprint consistent (" + hash + ") -> good!"));
|
||||
document.body.style.backgroundColor = "green";
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
@ -68,6 +69,7 @@
|
|||
}
|
||||
else {
|
||||
document.body.textContent = "context API blocked";
|
||||
document.body.style.backgroundColor = "orange";
|
||||
}
|
||||
</script>
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue