mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Remove no longer working preload script
This commit is contained in:
parent
4faea1aea9
commit
424a4b8a61
14
gulp/html.js
14
gulp/html.js
@ -155,20 +155,6 @@ function gulptasksHTML($, gulp, buildFolder) {
|
|||||||
.toString();
|
.toString();
|
||||||
loadJs.textContent = scriptContent;
|
loadJs.textContent = scriptContent;
|
||||||
document.head.appendChild(loadJs);
|
document.head.appendChild(loadJs);
|
||||||
|
|
||||||
// Click fraud prevention
|
|
||||||
bodyContent =
|
|
||||||
`
|
|
||||||
<script type="text/javascript">
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.async = true;
|
|
||||||
script.type = "text/javascript";
|
|
||||||
var target = "https://www.clickcease.com/monitor/stat.js";
|
|
||||||
script.src = target;
|
|
||||||
var elem = document.head;
|
|
||||||
elem.appendChild(script);
|
|
||||||
</script>
|
|
||||||
` + bodyContent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
document.body.innerHTML = bodyContent;
|
document.body.innerHTML = bodyContent;
|
||||||
|
Loading…
Reference in New Issue
Block a user