-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·152 lines (137 loc) · 8.14 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Homepage</title>
<link rel="stylesheet" href="homepage.css">
</head>
<body>
<div id="search">
<input id="search-field" type="text" name="search-field"/>
</div>
<div class="container">
<div id="clock"></div>
<div class="bookmark-container">
<div class="bookmark-set">
<div class="bookmark-title">Linux/Tech</div>
<div class="bookmark-inner-container">
<!-- <a class="bookmark" href="https://flathub.org/home" target="_self">Flathub</a> -->
<a class="bookmark" href="https://wiki.archlinux.org/" target="_self">Arch Wiki</a>
<a class="bookmark" href="https://forum.manjaro.org/" target="_self">Manjaro Forum</a>
<a class="bookmark" href="https://manjaro.org/news/" target="_self">Manjaro News</a>
<a class="bookmark" href="https://www.linuxjournal.com" target="_self">Linux Journal</a>
<a class="bookmark" href="https://itsfoss.com/" target="_self">It's Foss</a>
</div>
</div>
<div class="bookmark-set">
<div class="bookmark-title">News</div>
<div class="bookmark-inner-container">
<a class="bookmark" href="https://www.ilpost.it/" target="_self">IlPost</a>
<a class="bookmark" href="https://www.ilgerme.it/" target="_self">IlGerme</a>
<a class="bookmark" href="http://www.rete5.tv/" target="_self">Rete5</a>
<a class="bookmark" href="http://www.zeusnews.it/" target="_self">ZEUS News</a>
</div>
</div>
<div class="bookmark-set">
<div class="bookmark-title">Video/Social</div>
<div class="bookmark-inner-container">
<a class="bookmark" href="https://youtube.com" target="_self">YouTube</a>
<a class="bookmark" href="https://www.twitch.tv/" target="_self">Twitch TV</a>
<a class="bookmark" href="https://www.netflix.com/it-en/login" target="_self">NetFlix</a>
<a class="bookmark" href="https://www.9anime.to/" target="_self">9anime</a>
<a class="bookmark" target="_self">------------</a>
<a class="bookmark" href="https://reddit.com" target="_self">Reddit</a>
<a class="bookmark" href="https://www.instagram.com/" target="_self">Instagram</a>
<a class="bookmark" href="https://facebook.com" target="_self">Facebook</a>
<!-- <a class="bookmark" href="https://web.whatsapp.com/" target="_self">Whatsapp</a>
<a class="bookmark" href="https://web.telegram.org/#/im" target="_self">Telegram</a>
-->
</div>
</div>
<div class="bookmark-set">
<div class="bookmark-title">Google</div>
<div class="bookmark-inner-container">
<a class="bookmark" href="http://translate.google.it/?hl=it&tab=wT" target="_self">Translate</a>
<a class="bookmark" href="https://mail.google.com/mail/?account_id=renzellal%40gmail.com#inbox" target="_self">Gmail</a>
<a class="bookmark" href="https://www.google.it/imghp" target="_self">Immagini</a>
<a class="bookmark" href="https://photos.google.com/" target="_self">Photo</a>
<a class="bookmark" href="https://www.google.com/drive/" target="_self">Drive</a>
<a class="bookmark" href="https://keep.google.com/" target="_self">Keep</a>
<a class="bookmark" href="https://www.google.it/maps/@42.354254,13.4147514,11z" target="_self">Maps</a>
</div>
</div>
<div class="bookmark-set">
<div class="bookmark-title">Università</div>
<div class="bookmark-inner-container">
<a class="bookmark" href="https://univaq.it/" target="_self">Univaq</a>
<a class="bookmark" href="https://www.disim.univaq.it/main/index.php" target="_self">Disim</a>
<a class="bookmark" href="https://segreteriavirtuale.univaq.it/Home.do" target="_self">Segreteria virtuale</a>
<a class="bookmark" href="https://moodle.univaq.it/" target="_self">Moodle</a>
<a class="bookmark" href="https://www.office.com/launch/powerpoint?auth=2" target="_self">Powerpoint</a>
<a class="bookmark" href="https://teams.microsoft.com/_#/school//?ctx=teamsGrid/" target="_self">Teams</a>
<a class="bookmark" href="https://outlook.office.com/mail/inbox" target="_self">Outlook</a>
<!-- <a class="bookmark" target="_self">------------</a>
<a class="bookmark" href="https://www.pdfdrive.com/" target="_self">Libri</a>
<a class="bookmark" href="https://libgen.lc/" target="_self">Ancora Libri</a> -->
</div>
</div>
<div class="bookmark-set">
<div class="bookmark-title">Acquisti/Altro</div>
<div class="bookmark-inner-container">
<a class="bookmark" href="https://www.amazon.it/ref=as_li_ss_tl?ie=UTF8&linkCode=sl2&tag=ferry019-21&linkId=0db3c5c99b94d7f1b04b1927181d75ab&language=it_IT" target="_self">Amazon</a>
<a class="bookmark" href="https://it.aliexpress.com/" target="_self">Aliexpress</a>
<a class="bookmark" href="https://www.ebay.it/" target="_self">Ebay</a>
<a class="bookmark" href="https://www.subito.it/" target="_self">Subito</a>
<a class="bookmark" target="_self">------------</a>
<a class="bookmark" href="https://speed.cloudflare.com/" target="_self">Speedtest</a>
<a class="bookmark" href="http://www.meteoam.it/ta/previsione/437/sulmona" target="_self">Meteo</a>
<!-- <a class="bookmark" href="chrome://history/syncedTabs" target="_self">Cronologia</a>
<a class="bookmark" href="https://bookmarks/" target="_self">Segnalibri</a>
--> </div>
</div>
</div>
</div>
<script>
document.getElementById("search-field").addEventListener("keydown", event => {
if (event.keyCode === 13) {
var val = document.getElementById("search-field").value;
if (val.match("http://") || val.match("https://")) {
window.open(val, "_self");
}
else if (val.match(/\./)){
window.open("http://" + val.replace(/\s/g, ''), "_self");
}
else {
window.open("https://google.com/search?q=" + val, "_self");
}
}
});
getTime = () => {
let date = new Date(),
min = date.getMinutes(),
sec = date.getSeconds(),
hour = date.getHours();
return "" +
(hour < 10 ? ("0" + hour) : hour) + ":" +
(min < 10 ? ("0" + min) : min) + ":" +
(sec < 10 ? ("0" + sec) : sec);
}
document.getElementById("clock").innerHTML = getTime();
setInterval( () => {
document.getElementById("clock").innerHTML = getTime();
},100);
document.addEventListener("keydown", event => {
if (event.keyCode == 32) {
document.getElementById('search').style.display = 'flex';
document.getElementById('search-field').focus();
} else if (event.keyCode == 27) {
document.getElementById('search-field').value = '';
document.getElementById('search-field').blur();
document.getElementById('search').style.display = 'none';
}
});
</script>
</body>
</html>