adding links
This commit is contained in:
parent
53a6178824
commit
cc6386f874
2 changed files with 14 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
||||||
<head>
|
<head>
|
||||||
<title>domspace</title>
|
<title>Home</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
@ -93,17 +93,16 @@
|
||||||
<a href="https://www.avistaz.to" id="avistaz" class="link">[v] avistaz </a><br>
|
<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>
|
<a href="https://www.nyaa.si" id="nyaa" class="link">[n] nyaa </a><br>
|
||||||
</div>
|
</div>
|
||||||
<div id="pussy" style="display:none">
|
<div id="other" style="display:none">
|
||||||
<a href="google.com" id="hello" class="link">[x] hello </a><br>
|
<a href="https://icum.to" id="dukenukem" class="link">[i] dukenukem </a><br>
|
||||||
</div>
|
<a href="smith" id="luke" class="link">[l] luke </a><br>
|
||||||
<div id="faggot" style="display:none">
|
<a href="https://digdeeper.club/" id="digdeeper" class="link">[p] digdeeper </a><br>
|
||||||
<a href="google.com" id="goodbye" class="link">[q] goodbye </a><br>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<span style="font-size:14px">
|
<span style="font-size:14px">
|
||||||
<a href="#" class="link" onclick="toggleSection("main")">[1] main</a> <a href="#" class="link" onclick="toggleSection("torrents")">[2] torrents</a> <a href="#" class="link" onclick="toggleSection("pussy")">[3] pussy</a> <a href="#" class="link" onclick="toggleSection("faggot")">[4] faggot</a>
|
<a href="#" class="link" onclick="toggleSection("main")">[1] main</a> <a href="#" class="link" onclick="toggleSection("torrents")">[2] torrents</a> <a href="#" class="link" onclick="toggleSection("other")">[3] other</a>
|
||||||
</span><br>
|
</span><br>
|
||||||
</div>
|
</div>
|
||||||
</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) {
|
function toggleSection(section) {
|
||||||
var sections = ["main", "torrents", "pussy", "faggot"]
|
var sections = ["main", "torrents", "other"]
|
||||||
for (let i = 0; i < sections.length; i++) {
|
for (let i = 0; i < sections.length; i++) {
|
||||||
if (section == sections[i]) {
|
if (section == sections[i]) {
|
||||||
document.getElementById(sections[i]).style.display = 'block';
|
document.getElementById(sections[i]).style.display = 'block';
|
||||||
|
@ -160,7 +159,7 @@
|
||||||
|
|
||||||
document.onkeypress = function (e) {
|
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) {
|
if (e.key in section_map) {
|
||||||
toggleSection(section_map[e.key])
|
toggleSection(section_map[e.key])
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[style]
|
[style]
|
||||||
title domspace
|
title Home
|
||||||
font monospace
|
font monospace
|
||||||
font_color #e6e6fa
|
font_color #e6e6fa
|
||||||
font_size 25
|
font_size 25
|
||||||
|
@ -21,8 +21,7 @@ j jpopsuki https://www.jpopsuki.eu
|
||||||
v avistaz https://www.avistaz.to
|
v avistaz https://www.avistaz.to
|
||||||
n nyaa https://www.nyaa.si
|
n nyaa https://www.nyaa.si
|
||||||
|
|
||||||
section pussy
|
section other
|
||||||
x hello google.com
|
i dukenukem https://icum.to
|
||||||
|
l luke smith https://www.lukesmith.xyz
|
||||||
section faggot
|
p digdeeper https://digdeeper.club/
|
||||||
q goodbye google.com
|
|
||||||
|
|
Loading…
Reference in a new issue