gtag, adsense, caching
This commit is contained in:
119
home.html
119
home.html
@ -1,11 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- initialize theme vars
|
||||
|
||||
<head>
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J0Y3T4HN4N"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-J0Y3T4HN4N');
|
||||
</script>
|
||||
|
||||
<!-- initialize theme vars
|
||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||
|
||||
<!-- initialize externals -->
|
||||
|
||||
<!-- initialize externals -->
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
@ -23,53 +34,57 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- initialize my stuff -->
|
||||
<link rel="stylesheet" href="/css/main.css" />
|
||||
<link rel="stylesheet" href="/css/pages.css" />
|
||||
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Mulish&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'" />
|
||||
<script src="/js/main.js" defer></script>
|
||||
<!-- <script src="/js/widget.js"></script> -->
|
||||
<script defer>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
setBackground();
|
||||
fetch("/quotes.json")
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
let randomQuote = data[Math.floor(Math.random() * data.length)];
|
||||
<!-- initialize my stuff -->
|
||||
<link rel="stylesheet" href="/css/main.css" />
|
||||
<link rel="stylesheet" href="/css/pages.css" />
|
||||
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Mulish&display=swap" as="style"
|
||||
onload="this.onload=null;this.rel='stylesheet'" />
|
||||
<script src="/js/main.js" defer></script>
|
||||
<!-- <script src="/js/widget.js"></script> -->
|
||||
<script defer>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
setBackground();
|
||||
fetch("/quotes.json")
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
let randomQuote = data[Math.floor(Math.random() * data.length)];
|
||||
|
||||
if (randomQuote.includes("OGNUM1") && randomQuote.includes("SQRTNUM1")) {
|
||||
const ognum = Math.floor(Math.random() * 3000);
|
||||
randomQuote = `the square root of ${ognum} is ${Math.sqrt(ognum)}`;
|
||||
} else if (randomQuote.includes("CURRENTURL")) {
|
||||
randomQuote = window.location.hostname;
|
||||
}
|
||||
if (randomQuote.includes("OGNUM1") && randomQuote.includes("SQRTNUM1")) {
|
||||
const ognum = Math.floor(Math.random() * 3000);
|
||||
randomQuote = `the square root of ${ognum} is ${Math.sqrt(ognum)}`;
|
||||
} else if (randomQuote.includes("CURRENTURL")) {
|
||||
randomQuote = window.location.hostname;
|
||||
}
|
||||
|
||||
document.getElementById("randomquote").innerHTML = randomQuote;
|
||||
})
|
||||
.catch((error) => console.error("Error loading quotes:", error));
|
||||
});
|
||||
</script>
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<!-- seo + other things -->
|
||||
<title>Selenite</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3415518411898563" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<alerts> </alerts>
|
||||
<body>
|
||||
<h1 class="title">selenite.</h1>
|
||||
<noscript>enable javascript if you want the games to actually load</noscript>
|
||||
<p id="randomquote">better thank me for this unblocked website</p>
|
||||
<div class="samerow">
|
||||
<div class="img-container">
|
||||
<a href="/users"><img src="img/user_index.svg" /></a>
|
||||
</div>
|
||||
<div class="img-container">
|
||||
<a href="projects.html"><img src="img/games.svg" /></a>
|
||||
</div>
|
||||
<div class="img-container">
|
||||
<a target="_blank" href="https://discord.gg/7jyufnwJNf"><img src="img/discord.svg" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
document.getElementById("randomquote").innerHTML = randomQuote;
|
||||
})
|
||||
.catch((error) => console.error("Error loading quotes:", error));
|
||||
});
|
||||
</script>
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<!-- seo + other things -->
|
||||
<title>Selenite</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3045051195337951"
|
||||
crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<alerts> </alerts>
|
||||
|
||||
<body>
|
||||
<h1 class="title">selenite.</h1>
|
||||
<noscript>enable javascript if you want the games to actually load</noscript>
|
||||
<p id="randomquote">better thank me for this unblocked website</p>
|
||||
<div class="samerow">
|
||||
<div class="img-container">
|
||||
<a href="/users"><img src="img/user_index.svg" /></a>
|
||||
</div>
|
||||
<div class="img-container">
|
||||
<a href="projects.html"><img src="img/games.svg" /></a>
|
||||
</div>
|
||||
<div class="img-container">
|
||||
<a target="_blank" href="https://discord.gg/7jyufnwJNf"><img src="img/discord.svg" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user