1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 12:50:36 +01:00

Fixed statement order to catch api changes

This commit is contained in:
kkapsner 2019-12-12 17:44:14 +01:00
parent 3ab687f45b
commit 15c537cd1f

View File

@ -6,8 +6,8 @@
<link href="testIcon.svg" type="image/png" rel="icon">
<link href="testIcon.svg" type="image/png" rel="shortcut icon">
<script>
console.log(new Date(), "starting first fingerprint", window.name);
var firstDescriptor = Object.getOwnPropertyDescriptor(HTMLCanvasElement.prototype, "getContext");
console.log(new Date(), "starting first fingerprint", window.name);
function fingerPrint(){
"use strict";var canvas = document.createElement("canvas");
canvas.setAttribute("width", 220);