This repository has been archived by the owner on Apr 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
6feeed9d.js
47 lines (46 loc) · 2.14 KB
/
6feeed9d.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// https://jsfiddle.net/5pdhLux4/
(() => {
var container = document.createElement("span");
container.style.display = "block";
container.style.fontSize = "10px";
container.style.width = "0px";
container.innerHTML = "<img style=\"width:7px\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=\">­<img style=\"width:3px\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=\">";
document.getElementById("challenge-form").appendChild(container);
var inner = container;
var initial = inner.offsetHeight;
var fingerprint = new Array();
var i = 0;
for (i = 0; i < 100; i++) {
inner.style.width = "" + i + "px";
if (initial != inner.offsetHeight) {
fingerprint.push({i: i, h: inner.offsetHeight});
initial = inner.offsetHeight;
}
}
document.getElementById("challenge-form").removeChild(container);
window._cf_chl_ctx[window._cf_chl_ctx.chC].fp = fingerprint;
window._cf_chl_ctx[window._cf_chl_ctx.chC].ii = new Array(7, 3, 10);
})();
// https://jsfiddle.net/ujz5n812/
(() => {
var container = document.createElement("span");
container.style.display = "block";
container.style.fontSize = "13px";
container.style.width = "0px";
container.innerHTML = "<img style=\"width:15px\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=\">­<img style=\"width:6px\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=\">";
document.getElementById("challenge-form").appendChild(container);
var inner = container;
var initial = inner.offsetHeight;
var fingerprint = new Array();
var i = 0;
for (i = 0; i < 100; i++) {
inner.style.width = "" + i + "px";
if (initial != inner.offsetHeight) {
fingerprint.push({i: i, h: inner.offsetHeight});
initial = inner.offsetHeight;
}
}
document.getElementById("challenge-form").removeChild(container);
window._cf_chl_ctx[window._cf_chl_ctx.chC].fp = fingerprint;
window._cf_chl_ctx[window._cf_chl_ctx.chC].ii = new Array(15, 6, 13);
})()