-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
297 lines (271 loc) · 8.52 KB
/
Copy pathindex.html
File metadata and controls
297 lines (271 loc) · 8.52 KB
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>index</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
/* The extra [class] is a hack that increases specificity enough to
override a similar rule in reveal.js */
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
font-size: inherit;
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
/* override style defined above for columns.lua */
div.columns { display: inherit ; gap: inherit ; }
/* override style defined above for numbered source code */
pre.numberSource { margin-left: inherit !important ; border-left: none !important ; padding-left: inherit !important ; }
</style>
<link rel="stylesheet" href="/_styles/baskerville-panam.css" />
<style>
/* Styles added by the columns.lua pandoc filter */
.columns :first-child {margin-top: 0;}
.column-span + * {margin-top: 0;}
</style>
<link rel="icon" type="image/png" href="/favicon.svg">
</head>
<body>
<div id="main">
<div class="banner-container">
<div id="browser-info" class="banner">
</div>
</div>
<div id="content">
<ul class="incremental">
<li><a href="/index.html">HOME</a>
<!--- [Yasen & Pete](/pages/yasen/)-->
<!--- [zoom audio](pages/zoom/zoom.html)--></li>
</ul>
<div class="submenu">
<ul class="incremental">
<li><a href="misc/mischa.html">mischa maisky</a></li>
<li><a href="el%20equipo%20nocturno/index.html">el equipo
nocturno</a></li>
<li><a href="misc/260903-scientific-subjects-taboos.html">taboos in
science</a></li>
</ul>
</div>
<!--:::{.submenu}-->
<!--- [autotyper](pages/misc/autotyper.html)-->
<!--- [git guide](pages/misc/git-github-how-to-guide-02.html)-->
<!--- [bob jagger](pages/misc/bob-jagger.html)-->
<!--:::-->
</div>
<div id="footer">
<p>© 2025 JACKANORY101 | Last updated: <span
id="last-updated"></span></p>
</div>
<div id="banner-container" class="banner-container">
<div id="browser-info" class="banner">
</div>
</div>
<style>
/* ------------------ Font ------------------ */
@font-face {
font-family: 'Exo 2';
src: url('/_fonts/Exo2-VariableFont_wght.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
/* ------------------ Global Styles ------------------ */
html, body {
height: 100%;
margin: 0;
font-family: 'Exo 2';
}
/* ------------------ Body Background ------------------ */
body {
background-image: url('/_media/blossom.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
position: relative;
max-width: 100%;
display: grid;
}
/* Dark overlay */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
z-index: 0;
}
/* ------------------ Content ------------------ */
#content {
position: relative;
z-index: 1;
font-size: 2.5rem;
color: white;
width: 90%;
max-width: 600px;
text-align: center;
font-style: italic;
margin: auto; /* Handles centering inside Grid of body */
/* Dynamic Padding: Scaled to use 10% of the screen height,
but it will never drop below 20px or grow past 100px */
padding-top: clamp(20px, 10vh, 100px);
padding-bottom: clamp(20px, 10vh, 100px);
}
/* Lists and submenu */
#content ul {
list-style: none;
}
.submenu {
font-size: 1.8rem;
}
/* ------------------ Footer ------------------ */
#footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
color: white;
text-align: right;
padding: 15px;
font-size: 0.9em;
z-index: 2;
background: linear-gradient(
to top,
rgba(0,0,0,0.6) 0%,
rgba(0,0,0,0.6) 80%,
rgba(0,0,0,0) 100%
);
}
#footer p {
margin-right: 100px;
}
/* ------------------ Banner ------------------ */
.banner-container {
width: 100%;
overflow: hidden;
color: #fff;
white-space: nowrap;
box-sizing: border-box;
padding: 10px 0 20px 0;
position: fixed;
top: 0;
z-index: 1000;
cursor: pointer;
background: linear-gradient(
to bottom,
rgba(0,0,0,0.2) 0%,
rgba(0,0,0,0.3) 80%,
rgba(0,0,0,0) 100%
);
}
.banner {
display: inline-block;
padding-left: 100%;
animation: scroll 120s linear infinite;
color: #C0C0C0;
font-size: 14px;
animation-play-state: running;
}
.banner.paused {
animation-play-state: paused;
}
@keyframes scroll {
0% { transform: translateX(0); }
100% { transform: translateX(-100%); }
}
</style>
<script>
// Get the last modified date of the current document
const lastModified = new Date(document.lastModified);
document.getElementById('last-updated').textContent =
lastModified.toLocaleDateString();
</script>
<script>
const banner = document.getElementById('browser-info');
const container = document.getElementById('banner-container');
// Toggle pause/resume on click
container.addEventListener('click', () => {
banner.classList.toggle('paused');
});
const info = [];
// ------------------ Banner Update Function ------------------
function updateBanner() {
document.getElementById('browser-info').textContent = info.join(' -----❤️----- ');
}
// ------------------ Fetch Public IP ------------------
fetch('https://api.ipify.org?format=json')
.then(res => res.json())
.then(data => {
const ip = data.ip;
info.unshift(`Public IP: ${ip}`); // add to the front
updateBanner();
// ------------------ Rough IP Geolocation ------------------
return fetch(`https://ipapi.co/${ip}/json/`);
})
.then(res => res.json())
.then(geo => {
if (geo) {
info.splice(1, 0, `IP Location: ${geo.city || 'N/A'}, ${geo.region || 'N/A'}, ${geo.country_name || 'N/A'}`);
updateBanner();
}
})
.catch(err => {
console.warn('IP or Geo fetch error:', err);
info.unshift('Public IP or Geo: unavailable');
updateBanner();
});
// ------------------ Other Browser / Navigator Info ------------------
const browserInfo = [];
// Navigator properties
browserInfo.push(`User Agent: ${navigator.userAgent}`);
browserInfo.push(`App Name: ${navigator.appName}`);
browserInfo.push(`App Version: ${navigator.appVersion}`);
browserInfo.push(`Platform: ${navigator.platform}`);
browserInfo.push(`Vendor: ${navigator.vendor}`);
browserInfo.push(`Language: ${navigator.language}`);
if (navigator.languages) browserInfo.push(`Languages: ${navigator.languages.join(', ')}`);
browserInfo.push(`Cookies Enabled: ${navigator.cookieEnabled}`);
browserInfo.push(`Online: ${navigator.onLine}`);
browserInfo.push(`Do Not Track: ${navigator.doNotTrack || 'N/A'}`);
if (navigator.hardwareConcurrency) browserInfo.push(`Cores: ${navigator.hardwareConcurrency}`);
if (navigator.deviceMemory) browserInfo.push(`RAM: ${navigator.deviceMemory} GB`);
if (navigator.maxTouchPoints) browserInfo.push(`Max Touch Points: ${navigator.maxTouchPoints}`);
// Screen info
browserInfo.push(`Screen: ${screen.width}x${screen.height}`);
browserInfo.push(`Available: ${screen.availWidth}x${screen.availHeight}`);
browserInfo.push(`Color Depth: ${screen.colorDepth} bit`);
browserInfo.push(`Pixel Depth: ${screen.pixelDepth} bit`);
browserInfo.push(`Viewport: ${window.innerWidth}x${window.innerHeight}`);
browserInfo.push(`Window Outer: ${window.outerWidth}x${window.outerHeight}`);
// Timezone
if (Intl && Intl.DateTimeFormat) {
browserInfo.push(`Timezone: ${Intl.DateTimeFormat().resolvedOptions().timeZone}`);
}
// Connection info (if supported)
const connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection;
if (connection) {
if (connection.effectiveType) browserInfo.push(`Connection Type: ${connection.effectiveType}`);
if (connection.downlink) browserInfo.push(`Downlink: ${connection.downlink} Mbps`);
if (connection.rtt) browserInfo.push(`RTT: ${connection.rtt} ms`);
}
// Optional plugins / mime types (legacy)
if (navigator.plugins && navigator.plugins.length > 0) {
const pluginNames = Array.from(navigator.plugins).map(p => p.name).join(', ');
browserInfo.push(`Plugins: ${pluginNames}`);
}
// Append browser info after IP & location
info.push(...browserInfo);
updateBanner();
</script>
</div>
</body>
</html>