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

Added 304 test

For #577
This commit is contained in:
kkapsner 2021-09-08 23:09:08 +02:00
parent 8e4a881288
commit 2f6ca07bba
2 changed files with 20 additions and 3 deletions

View file

@ -18,4 +18,11 @@ addLine("window name after set: " + window.name);
const hashValue = await testAPI.hash(canvasAPI.fingerprint(window).url);
addLine("canvas hash: " + hashValue);
}());
}());
document.getElementById("reloadWith304").addEventListener("click", function(){
"use strict";
document.cookie = "304=1";
location.reload();
});