remove .domains, add web badge

This commit is contained in:
PossiblyAxolotl 2024-09-13 21:01:08 -06:00
parent 07d82bafd9
commit c339fc5fd5
5 changed files with 3 additions and 18 deletions

View file

@ -1,2 +0,0 @@
i-eat.rocks
www.i-eat.rocks

View file

@ -45,9 +45,8 @@
<div id="body"> <div id="body">
<h1>i-eat.rocks</h1> <h1>i-eat.rocks</h1>
<p>Rock-OS v0.1.3</p> <p>Rock-OS v0.1.3</p>
<p>Created by PossiblyAxolotl</p>
<p><a style="color:purple; text-decoration: underline; cursor:pointer;" onclick="window.parent.postMessage('url mailto:possiblyaxolotl@i-eat.rocks')">Contact</a></p> <p><a style="color:purple; text-decoration: underline; cursor:pointer;" onclick="window.parent.postMessage('url mailto:possiblyaxolotl@i-eat.rocks')">Contact</a></p>
<button onclick="window.parent.postMessage('url https://directory.possiblyaxolotl.com')">PossiblyAxolotl Directory</button> <img src="/images/ui/ieatrocks.png">
</div> </div>
</body> </body>
</html> </html>

View file

@ -26,6 +26,6 @@
<p><span class="rainbow">Rock-OS</span> is chock-full of rock-related activities to keep your brain stimulated, but of course you know that after paying the modest $1,999 license fee.</p> <p><span class="rainbow">Rock-OS</span> is chock-full of rock-related activities to keep your brain stimulated, but of course you know that after paying the modest $1,999 license fee.</p>
<p>Now without further ado, please enjoy <span class="rainbow">Rock-OS</span>!</p> <p>Now without further ado, please enjoy <span class="rainbow">Rock-OS</span>!</p>
<button onclick="createWindow('https://www.possiblyaxolotl.com', 'www.possiblyaxolotl.com', '900', '500')">Created by PossiblyAxolotl</button><button onclick="createWindow('https://ko-fi.com/possiblyaxolotl/?hidefeed=true&widget=true&embed=true&preview=true', 'donate', '400', '630')">support me!</button><button onclick="createWindow('apps/info.html', 'info', '350', '230')">info</button> <button onclick="createWindow('https://www.possiblyaxolotl.com', 'www.possiblyaxolotl.com', '900', '500')">Created by PossiblyAxolotl</button><button onclick="createWindow('https://ko-fi.com/possiblyaxolotl/?hidefeed=true&widget=true&embed=true&preview=true', 'donate', '400', '630')">support me!</button><button onclick="createWindow('apps/info.html', 'info', '350', '200')">info</button>
</body> </body>
</html> </html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

View file

@ -67,19 +67,7 @@
} }
addEventListener("DOMContentLoaded", e => { addEventListener("DOMContentLoaded", e => {
var topLevelUrl = getTopLevelUrl().split("/")[2];
const allowedURLs = ["i-eat.rocks", "possiblyaxolotl.itch.io", "127.00.1:5500"];
if (inList(allowedURLs, topLevelUrl) == false) {
const divs = document.querySelectorAll("div");
divs.forEach(div => {
div.remove();
});
createWindow('apps/piracy.html', 'wuh oh!', '350px', '330px');
} else {
createWindow('apps/welcome.html', 'welcome', '350px', '550px'); createWindow('apps/welcome.html', 'welcome', '350px', '550px');
}
}) })