mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
ads
This commit is contained in:
parent
06700b6413
commit
5435e8c292
58
ad.html
Normal file
58
ad.html
Normal file
@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="sl-theme-dark" lang="en">
|
||||
<head>
|
||||
<!-- initialize theme vars
|
||||
https://coolors.co/10002b-240046-3c096c-5a189a-7b2cbf-9d4edd-c77dff-e0aaff -->
|
||||
|
||||
<!-- initialize externals -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
|
||||
<script src=" https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js "></script>
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/themes/dark.css" />
|
||||
<script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.9.0/cdn/shoelace-autoloader.js"></script>
|
||||
|
||||
<!-- initialize my stuff -->
|
||||
<script src="/js/all.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/themes.js"></script>
|
||||
<link rel="stylesheet" href="/themes.css" />
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
||||
<!-- seo + other things -->
|
||||
<title>Contact | Selenite</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
|
||||
<!-- toastify -->
|
||||
<script></script>
|
||||
</head>
|
||||
|
||||
<body id="noscroll">
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
<a href="/projects.html">Games</a>
|
||||
<a href="/settings.html">Settings</a>
|
||||
<a href="/support.html">Support</a>
|
||||
<a id="blank" href="#">Open Blank</a>
|
||||
<a href="/about.html">About</a>
|
||||
</header>
|
||||
<main id="main" class="noscroll">
|
||||
<h2>What happened? Why does Selenite have ads?</h2>
|
||||
<p style="padding-left: 100px; padding-right: 100px; padding-bottom: 20px">After a lot of thinking, I have decided that the best course of action for Selenite is to add ads. I have spent a lot of time to make sure they are the least intrusive on your experience while still allowing me to make a profit off of the website. This decision was not out of greed or anything, it was because I can't expand Selenite past a certain point without a guaranteed income, and I can't do that solely off of donations.</p>
|
||||
<p>There is still an option to disable ads. You can also use an adblocker (which I <strong >HIGHLY</strong> recommend).</p>
|
||||
<button onclick="localStorage.setItem('selenite.adblock', 'true')">Click here to disable ads.</button>
|
||||
</main>
|
||||
|
||||
<footer class="noscroll">
|
||||
<a href="https://github.com/selenite-cc/Selenite">Source Code</a>
|
||||
<a id="panicmode">Panic Mode</a>
|
||||
<a href="/transfer.html">Transfer</a>
|
||||
<a href="/suggest.html">Bug Reports</a>
|
||||
<a href="https://discord.gg/7jyufnwJNf">Discord</a>
|
||||
<a href="/suggest.html">Suggestions</a>
|
||||
<a href="/contact.html">Contact</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -79,6 +79,11 @@
|
||||
<a href="https://discord.gg/7jyufnwJNf"><img src="img/discord-mark-white.png"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="adcontainer">
|
||||
<h3><a href="ad.html">AD (click to read more):</a></h3>
|
||||
<script async="async" data-cfasync="false" src="//pl22225360.toprevenuegate.com/92108816b5da54426d1639bcbfb5785c/invoke.js"></script>
|
||||
<div id="container-92108816b5da54426d1639bcbfb5785c"></div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="noscroll">
|
||||
|
@ -16,6 +16,10 @@ function check() {
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
if(document.getElementById("adcontainer") && Math.random() > 0.5 || localStorage.getItem("selenite.adblock") == "true") {
|
||||
document.getElementById("adcontainer").innerHTML = "";
|
||||
}
|
||||
|
||||
const iconSetting = document.querySelector("input#discordIcon");
|
||||
const blockClose = document.querySelector("input#blockClose");
|
||||
const openBlank = document.getElementById("blank");
|
||||
|
@ -74,6 +74,19 @@
|
||||
|
||||
</header>
|
||||
<main>
|
||||
<div id="adcontainer">
|
||||
<h3><a href="ad.html">AD (click to read more):</a></h3>
|
||||
<script type="text/javascript">
|
||||
atOptions = {
|
||||
'key' : 'a4e483c304d8788fbb3f86d0fccd7dd2',
|
||||
'format' : 'iframe',
|
||||
'height' : 90,
|
||||
'width' : 728,
|
||||
'params' : {}
|
||||
};
|
||||
document.write('<scr' + 'ipt type="text/javascript" src="//www.topcreativeformat.com/a4e483c304d8788fbb3f86d0fccd7dd2/invoke.js"></scr' + 'ipt>');
|
||||
</script>
|
||||
</div>
|
||||
<input class="hiddenUpload" type="file" accept=".save" hidden />
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user