Update index.html

This commit is contained in:
slweeb 2023-12-03 16:05:56 -05:00
parent 2b8bce64f6
commit 8fe1673651
1 changed files with 18 additions and 0 deletions

View File

@ -15054,6 +15054,24 @@ Cancer, Landmine, Grenade, Smoke Grenade">?</span> <input type="button" value="O
<div id="bottomInfoBox"> <div id="bottomInfoBox">
<div id="bottomTopBox"> <div id="bottomTopBox">
<!-- <iframe src="promo.html" style="border:none;width: 300px; height: 250px;"></iframe> --> <!-- <iframe src="promo.html" style="border:none;width: 300px; height: 250px;"></iframe> -->
<!-- Affiliate Links -->
<p style="font-size:1.2em;display:none" id="aff"><strong>Christmas <span style="color:red">GIFT</span> <span style="color:lime">IDEA</span></strong>: <a id="affLink" href="#" target="_blank">Loading...</a></p>
<script>
var aff = {};
var affRequest = new XMLHttpRequest();
affRequest.open("GET", "https://sandboxels.R74n.com/aff.json", true);
affRequest.onload = function() {
if (affRequest.status >= 200 && affRequest.status < 400) {
aff = JSON.parse(affRequest.responseText);
var affKeys = Object.keys(aff);
var randomAff = affKeys[Math.floor(Math.random() * affKeys.length)];
document.getElementById("affLink").innerHTML = aff[randomAff];
document.getElementById("affLink").href = randomAff;
document.getElementById("aff").style.display = "block";
}
};
affRequest.send();
</script>
<p>Email us at <a href="mailto:contact@R74n.com">contact@R74n.com</a> for advertising, help, or education!</p> <p>Email us at <a href="mailto:contact@R74n.com">contact@R74n.com</a> for advertising, help, or education!</p>
<p>Support development by subscribing on <a href="https://www.patreon.com/R74n" target="_blank">our Patreon</a>! Many benefits!!</p> <p>Support development by subscribing on <a href="https://www.patreon.com/R74n" target="_blank">our Patreon</a>! Many benefits!!</p>
</div> </div>