adding links

This commit is contained in:
Dominic 2025-06-27 21:37:11 -04:00
parent 53a6178824
commit cc6386f874
2 changed files with 14 additions and 16 deletions

View file

@ -1,5 +1,5 @@
<head>
<title>domspace</title>
<title>Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
@ -93,17 +93,16 @@
<a href="https://www.avistaz.to" id="avistaz" class="link">[v] avistaz </a><br>
<a href="https://www.nyaa.si" id="nyaa" class="link">[n] nyaa </a><br>
</div>
<div id="pussy" style="display:none">
<a href="google.com" id="hello" class="link">[x] hello </a><br>
</div>
<div id="faggot" style="display:none">
<a href="google.com" id="goodbye" class="link">[q] goodbye </a><br>
<div id="other" style="display:none">
<a href="https://icum.to" id="dukenukem" class="link">[i] dukenukem </a><br>
<a href="smith" id="luke" class="link">[l] luke </a><br>
<a href="https://digdeeper.club/" id="digdeeper" class="link">[p] digdeeper </a><br>
</div>
<br>
<span style="font-size:14px">
<a href="#" class="link" onclick="toggleSection("main")">[1]&nbsp;main</a> <a href="#" class="link" onclick="toggleSection("torrents")">[2]&nbsp;torrents</a> <a href="#" class="link" onclick="toggleSection("pussy")">[3]&nbsp;pussy</a> <a href="#" class="link" onclick="toggleSection("faggot")">[4]&nbsp;faggot</a>
<a href="#" class="link" onclick="toggleSection("main")">[1]&nbsp;main</a> <a href="#" class="link" onclick="toggleSection("torrents")">[2]&nbsp;torrents</a> <a href="#" class="link" onclick="toggleSection("other")">[3]&nbsp;other</a>
</span><br>
</div>
</div>
@ -145,10 +144,10 @@
}
});
var key_map = {"d": "https://www.domdit.com", "s": "https://www.shrinkinminkin.com", "t": "https://transmission.domdit.com", "g": "https://git.domdit.com", "m": "https://www.purelymail.com", "y": "https://www.youtube.com", "f": "https://www.4chan.org", "j": "https://www.jpopsuki.eu", "v": "https://www.avistaz.to", "n": "https://www.nyaa.si", "x": "google.com", "q": "google.com"}
var key_map = {"d": "https://www.domdit.com", "s": "https://www.shrinkinminkin.com", "t": "https://transmission.domdit.com", "g": "https://git.domdit.com", "m": "https://www.purelymail.com", "y": "https://www.youtube.com", "f": "https://www.4chan.org", "j": "https://www.jpopsuki.eu", "v": "https://www.avistaz.to", "n": "https://www.nyaa.si", "i": "https://icum.to", "l": "smith", "p": "https://digdeeper.club/"}
function toggleSection(section) {
var sections = ["main", "torrents", "pussy", "faggot"]
var sections = ["main", "torrents", "other"]
for (let i = 0; i < sections.length; i++) {
if (section == sections[i]) {
document.getElementById(sections[i]).style.display = 'block';
@ -160,7 +159,7 @@
document.onkeypress = function (e) {
var section_map = {"1": "main", "2": "torrents", "3": "pussy", "4": "faggot"}
var section_map = {"1": "main", "2": "torrents", "3": "other"}
if (e.key in section_map) {
toggleSection(section_map[e.key])

View file

@ -1,5 +1,5 @@
[style]
title domspace
title Home
font monospace
font_color #e6e6fa
font_size 25
@ -21,8 +21,7 @@ j jpopsuki https://www.jpopsuki.eu
v avistaz https://www.avistaz.to
n nyaa https://www.nyaa.si
section pussy
x hello google.com
section faggot
q goodbye google.com
section other
i dukenukem https://icum.to
l luke smith https://www.lukesmith.xyz
p digdeeper https://digdeeper.club/