This commit is contained in:
slweeb 2022-11-16 19:36:07 -05:00
parent 17948ebcb6
commit 1c74106739
1 changed files with 14 additions and 13 deletions

View File

@ -10491,6 +10491,19 @@ for (var k = 0; k < b0.split(" AND ").length; k++) {
var firstElementButton = firstDiv.getElementsByClassName("elementButton")[0];
selectElement(firstElementButton.getAttribute("element"));
// Add ad to page
document.getElementById("adSpot").innerHTML = `<!-- Ad ^_^ -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8485284630785740"
crossorigin="anonymous"></scr`+`ipt>
<!-- Sandboxels Main Page -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-8485284630785740"
data-ad-slot="9484672079"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</scr`+`ipt>`
}
</script>
<link rel="stylesheet" type="text/css" href="style.css?nocache=2">
@ -10628,19 +10641,7 @@ for (var k = 0; k < b0.split(" AND ").length; k++) {
<img src="icons/wallpaper.png" style="width:100%" alt="Rainforest landscape made in Sandboxels" title="Rainforest landscape made in Sandboxels">
<p>Sandboxels has a thriving community on <a href="https://discord.gg/ejUc6YPQuS" target="_blank">Discord</a>! There you can post feedback or share your creations.</p>
<p>This game is developed by R74n. Check out <a href="https://r74n.com" target="_blank">our other projects</a>!</p>
<!-- Ad ^_^ -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8485284630785740"
crossorigin="anonymous"></script>
<!-- Sandboxels Main Page -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-8485284630785740"
data-ad-slot="9484672079"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
overlays: {bottom: true}
});
</script>
<div id="adSpot"></div>
</div>
<div id="bottomRightBox">
<h2>Controls</h2>