mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-18 17:38:46 +01:00
Fixed statement order to catch api changes
This commit is contained in:
parent
3ab687f45b
commit
15c537cd1f
@ -6,8 +6,8 @@
|
|||||||
<link href="testIcon.svg" type="image/png" rel="icon">
|
<link href="testIcon.svg" type="image/png" rel="icon">
|
||||||
<link href="testIcon.svg" type="image/png" rel="shortcut icon">
|
<link href="testIcon.svg" type="image/png" rel="shortcut icon">
|
||||||
<script>
|
<script>
|
||||||
console.log(new Date(), "starting first fingerprint", window.name);
|
|
||||||
var firstDescriptor = Object.getOwnPropertyDescriptor(HTMLCanvasElement.prototype, "getContext");
|
var firstDescriptor = Object.getOwnPropertyDescriptor(HTMLCanvasElement.prototype, "getContext");
|
||||||
|
console.log(new Date(), "starting first fingerprint", window.name);
|
||||||
function fingerPrint(){
|
function fingerPrint(){
|
||||||
"use strict";var canvas = document.createElement("canvas");
|
"use strict";var canvas = document.createElement("canvas");
|
||||||
canvas.setAttribute("width", 220);
|
canvas.setAttribute("width", 220);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user