Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
3kh0
GitHub Repository: 3kh0/3kh0.github.io-replit
Path: blob/main/js/main.js
617 views
1
// Hello there!
2
//
3
// If you want to add my games to your site, please reach out at my email: [email protected], or discord: 3kh0_#6969
4
5
console.warn(
6
"%cNote!",
7
"color: purple; font-weight: 600; background: yellow; padding: 0 5px; border-radius: 5px",
8
"If you want to add my games to your site, please reach out at my email: [email protected]\nPlease do not just add them without asking me first! Thank you!"
9
);
10
11
function script(text) {
12
console.log("%cScript Injection", "color: cyan; font-weight: 600; background: black; padding: 0 5px; border-radius: 5px", text);
13
}
14
15
// ====================================
16
// SCRIPT INJECTION
17
// ====================================
18
const gogascript27 = document.createElement("script");
19
gogascript27.setAttribute("async", "");
20
gogascript27.setAttribute("src", "https://www.googletagmanager.com/gtag/js?id=G-98DP5VKS42");
21
const inlinegogascript843 = document.createElement("script");
22
inlinegogascript843.innerHTML = `window.dataLayer = window.dataLayer || [];
23
function gtag(){dataLayer.push(arguments);}
24
gtag('js', new Date());
25
gtag('config', 'G-98DP5VKS42');`;
26
document.head.append(gogascript27, inlinegogascript843);
27
script("Injected script 1/4 (Google Tag Manager)");
28
29
const arcbroker23 = document.createElement("script");
30
arcbroker23.setAttribute("async", "");
31
arcbroker23.setAttribute("src", "https://arc.io/widget.min.js#eRPHFgiC");
32
document.head.append(arcbroker23);
33
script("Injected script 2/4 (Widget stuff)");
34
35
const adblockhandle44 = document.createElement("script");
36
adblockhandle44.setAttribute("src", "https://fundingchoicesmessages.google.com/i/pub-5756835229788588?ers=1");
37
adblockhandle44.setAttribute("nonce", "yibq-w_TR5NOCRWsU-VL0Q");
38
adblockhandle44.setAttribute("async", "");
39
document.head.append(adblockhandle44);
40
script("Injected script 3/4 (Ad stuff)");
41
42
const adscipterz92 = document.createElement("script");
43
adscipterz92.setAttribute("async", "");
44
adscipterz92.setAttribute("src", "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5756835229788588");
45
adscipterz92.setAttribute("crossorigin", "anonymous");
46
document.head.append(adscipterz92);
47
script("Injected script 4/4 (Ad stuff)");
48
49