-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
570 lines (506 loc) · 29.1 KB
/
index.html
File metadata and controls
570 lines (506 loc) · 29.1 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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml" data-arp-injected="true">
<head>
<meta charset="UTF-8">
<meta name="msvalidate.01" content="C20AB21A13EC3761D5BEB8072E2819FB">
<meta name="google-site-verification" content="FTzVm02tRYfmfmK1Ki2rfm_ZkaSV3LrjY6g0QogJHlc">
<meta name="keywords" content="oftenguy, often, guy, often guy, often-guy, often_guy, just a boring black and white thing who's here often, black, white, grey, gray, black white and grey, black white and gray, black and white and grey, black and white and gray, black white grey, black white gray, oftenguy.github.io">
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<meta name="application-name" content="OftenGuy">
<meta name="generator" content="OftenGuy">
<meta name="HandheldFriendly" content="true">
<meta name="msapplication-tooltip" content="OftenGuy">
<meta name="msappliction-navbutton-color" content="black">
<meta name="msapplication-TileImage" type="image/png" content="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<meta name="msapplication-TileImage" type="image/x-icon" content="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<meta name="msapplication-TileColor" content="#FFCC66">
<meta name="mobile-apple-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="OftenGuy">
<meta name="google-adsense-account" content="ca-pub-5011706176462974">
<meta http-equiv="Content-Language" content="en-US">
<meta name="referrer" content="origin">
<meta name="color-scheme" content="light">
<meta name="classification" content="Entertainment">
<meta name="subject" content="Entertainment">
<meta name="viewport" content="width=device-width">
<meta name="category" content="Entertainment">
<meta name="topic" content="Entertainment">
<meta name="page-subject" content="OftenGuy">
<meta name="robots" content="index, follow">
<meta name="language" content="English">
<meta name="coverage" content="Worldwide">
<meta name="hostname" content="oftenguy.github.io">
<meta name="expected-hostname" content="oftenguy.github.io">
<meta name="keyboard-shortcuts-preference" content="all">
<meta name="DC.title" content="OftenGuy">
<meta name="DC.creator" content="OftenGuy">
<meta name="DC.subject" content="Entertainment">
<meta property="hostname" content="oftenguy.github.io">
<meta property="expected-hostname" content="oftenguy.github.io">
<meta property="keyboard-shortcuts-preference" content="all">
<meta itemprop="hostname" content="oftenguy.github.io">
<meta itemprop="expected-hostname" content="oftenguy.github.io">
<meta itemprop="keyboard-shortcuts-preference" content="all">
<meta property="og:site_name" content="OftenGuy">
<meta property="og:title" content="OftenGuy">
<meta property="og:type" content="website">
<meta property="og:description" content="Just a boring black and white "thing" who's here often.">
<meta property="og:url" content="https://oftenguy.github.io">
<meta property="og:image" type="image/png" content="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<meta property="og:image" type="image/png" content="https://github.com/OftenGuy/oftenguy.github.io/blob/main/assets/OftenGuySprite.png?raw=true" title="OftenGuy">
<meta property="og:image" type="image/png" content="assets/OftenGuySprite.png" title="OftenGuy">
<meta property="og:image" type="image/png" content="/assets/OftenGuySprite.png" title="OftenGuy">
<meta property="og:image" type="image/x-icon" content="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<meta property="og:image" type="image/x-icon" content="https://github.com/OftenGuy/oftenguy.github.io/blob/main/assets/OftenGuySprite.ico?raw=true" title="OftenGuy">
<meta property="og:image" type="image/x-icon" content="assets/OftenGuySprite.ico" title="OftenGuy">
<meta property="og:image" type="image/x-icon" content="/assets/OftenGuySprite.ico" title="OftenGuy">
<meta property="og:email" content="designsbysamanthapgh@gmail.com">
<meta property="og:video" type="video/mp4" content="https://oftenguy.github.io/videos/oftenGuyTrailer.mp4" title="OftenGuy">
<meta property="og:video" type="video/mp4" content="videos/oftenGuyTrailer.mp4" title="OftenGuy">
<meta property="og:video" type="video/mp4" content="/videos/oftenGuyTrailer.mp4" title="OftenGuy">
<meta property="og:video:type" content="video/mp4">
<meta property="og:video:width" content="400">
<meta property="og:video:height" content="250">
<meta property="og:locale" content="en">
<meta name="author" content="OftenGuy">
<meta name="copyright" content="OftenGuy">
<meta name="designer" content="OftenGuy">
<meta name="reply-to" content="designsbysamanthapgh@gmail.com">
<meta name="summary" content="Just a boring black and white "thing" who's here often.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="OftenGuy">
<meta name="twitter:creator" content="OftenGuy">
<meta name="twitter:url" content="https://oftenguy.github.io">
<meta name="twitter:description" content="Just a boring black and white "thing" who's here often.">
<meta name="twitter:image" type="image/png" content="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<meta name="twitter:image" type="image/x-icon" content="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<meta name="twitter:image:src" type="image/x-icon" content="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<meta name="twitter:image:alt" content="OftenGuy">
<meta name="tweetmeme-title" content="OftenGuy">
<meta name="name" content="OftenGuy">
<meta name="title" content="OftenGuy">
<meta name="description" content="Just a boring black and white "thing" who's here often.">
<meta name="image" type="image/png" href="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<meta name="image" type="image/x-icon" href="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<meta property="name" content="OftenGuy">
<meta property="title" content="OftenGuy">
<meta property="description" content="Just a boring black and white "thing" who's here often.">
<meta property="image" type="image/png" href="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<meta property="image" type="image/x-icon" href="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<meta name="application-name" content="OftenGuy">
<meta name="format-detection" content="telephone=no">
<meta property="application-name" content="OftenGuy">
<meta property="format-detection" content="telephone=no">
<meta itemprop="application-name" content="OftenGuy">
<meta itemprop="format-detection" content="telephone=no">
<link rel="icon" type="image/png" href="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<link rel="icon" type="image/x-icon" href="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<link rel="shortcut icon" type="image/png" href="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<link rel="shortcut icon" type="image/x-icon" href="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<link rel="apple-touch-icon" type="image/png" href="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<link rel="apple-touch-icon" type="image/x-icon" href="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<link rel="apple-touch-startup-image" type="image/png" href="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<link rel="apple-touch-startup-image" type="image/x-icon" href="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<link rel="fluid-icon" type="image/png" href="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<link rel="fluid-icon" type="image/x-icon" href="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<link rel="mask-icon" type="image/png" href="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy" color="#000000">
<link rel="mask-icon" type="image/x-icon" href="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy" color="#000000">
<link rel="alternate icon" type="image/png" href="https://oftenguy.github.io/assets/OftenGuySprite.png" title="OftenGuy">
<link rel="alternate icon" type="image/x-icon" href="https://oftenguy.github.io/assets/OftenGuySprite.ico" title="OftenGuy">
<link rel="image_src" href="https://oftenguy.github.io/assets/OftenGuySprite.png">
<link rel="me" content="https://oftenguy.github.io">
<link rel="index" content="https://oftenguy.github.io">
<link rel="alternate" content="https://oftenguy.github.io" title="OftenGuy">
<link rel="canonical" content="https://oftenguy.github.io">
<title>OftenGuy</title>
</head>
<body onload="document.getElementById('oftenGuyVideoPlayer').click();">
<script src="https://cdn.jsdelivr.net/combine/npm/jquery@3.5.1,npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js,npm/@iconify/iconify@1.0.7" crossorigin></script>
<div class="header" style="text-align: center;">
<h1 style="padding-top: 10px">OftenGuy</h1><hr>
<p style="padding-top: 20px;">Just a boring black and white "thing" who's here often.</p>
</div><br>
<div class="topnav" style="text-align: center;">
<a href="https://youtube.com/channel/UCu7a0qLsRb1TNutICA1EZuw?sub_confirmation=1" title="YouTube" id="navLink1" target="_blank">YouTube</a>
<a href="https://scratch.mit.edu/users/OftenScratcher" title="Scratch" id="navLink2" target="_blank">Scratch</a>
<a href="https://roblox.com/users/3445717475/profile" title="Roblox" id="navLink3" target="_blank">Roblox</a>
<a href="https://soundcloud.com/OftenGuy" title="SoundCloud" id="navLink4" target="_blank">SoundCloud</a>
<a href="https://oftenuser.newgrounds.com" title="Newgrounds" id="navLink5" target="_blank">Newgrounds</a>
<a href="https://onlinesequencer.net/members/128045" title="Online Sequencer" id="navLink6" target="_blank">Online Sequencer</a>
<a href="https://rooms.onlinesequencer.net/members/38" title="Online Sequencer Rooms" id="navLink7" target="_blank">Online Sequencer Rooms</a>
</div><br>
<div align='center' style="cursor: pointer;" onmouseover="this.style.filter = 'brightness(75%)'"
onmouseout="this.style.filter = 'brightness(100%)'" onmousedown="this.style.filter = 'brightness(125%)'"
onmouseup="this.style.filter = 'brightness(90%)'" onmouseleave="this.style.filter = 'brightness(100%)'" title="Counter Widget">
<!-- <a href='https://www.free-website-hit-counter.com' title="Free Website Hit Counter" target="_blank">
<img src='https://www.free-website-hit-counter.com/c.php?d=9&id=161590&s=18' border='0' alt='Free Website Hit Counter'>
</a><br / >
<small>
<a href='https://www.free-website-hit-counter.com' title="Free Website Hit Counter" style="color: #444444;" target="_blank">Free Website Hit Counter</a>
</small> -->
<!-- hitwebcounter Code START -->
<a href="https://hitwebcounter.com" target="_blank" title="Counter Widget">
<img src="https://hitwebcounter.com/counter/counter.php?page=20572039&style=0006&nbdigits=10&type=page&initCount=5400" title="Counter Widget" alt="Visit Counter For Websites" border="0">
</a><br>
<small><a href="https://hitwebcounter.com" target="_blank" title="Counter Widget" style="color: #444444;" target="_blank">Counter Widget</a></small>
</div>
<div class="row" style="text-align: center;">
<h2>Welcome Video</h2>
<iframe alt="OftenGuy" src="https://oftenguy.github.io/videos/oftenGuyTrailer.mp4" frameborder="0" width="400" height="250" allowfullscreen="yes" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture;" id="oftenGuyVideoPlayer" onload="document.getElementById('oftenGuyVideoPlayer').click();"></iframe>
</div><br>
<div class="row" style="text-align: center;">
<div class="card">
<h2>About Me</h2>
<img src="https://oftenguy.github.io/assets/OftenGuySprite.png" style="border-radius: 50%;" id="OftenGuy" alt="OftenGuy">
<p>I'm <strong>OftenGuy,</strong> and I describe by myself as just a boring black and white <b><i>"thing"</i></b> who's here <b><i>(Online)</i></b> often.</p>
<h2>Games & Things I Made</h2>
<a href="https://oftenguy.github.io/redirect/FreeFunGames.html" title="Free Fun Games" target="_blank" style="color: black;"><img src="https://oftenguy.github.io/assets/FreeFunGames.png" id="FreeFunGames" alt="Free Fun Games"><br><h1 style="color: #333333; text-shadow: 2px 2px 1px lightblue;" onmouseover="this.style.filter = 'brightness(75%)'" onmouseout="this.style.filter = 'brightness(100%)'" onmousedown="this.style.filter = 'brightness(125%)'" onmouseup="this.style.filter = 'brightness(90%)'" onmouseleave="this.style.filter = 'brightness(100%)'">Free Fun Games</h1></a>
<p>Just some random games for you! <b><i>(I swear, ACTUAL games)</i></b>.</p>
<a href="https://oftenguy.github.io/redirect/WingyShip.html" title="Wingy Ship" target="_blank" style="color: black;"><img src="https://oftenguy.github.io/assets/WingyShip.png" id="WingyShip" alt="Wingy Ship"><br><h1 style="color: #333333; text-shadow: 2px 2px 1px lightblue;" onmouseover="this.style.filter = 'brightness(75%)'" onmouseout="this.style.filter = 'brightness(100%)'" onmousedown="this.style.filter = 'brightness(125%)'" onmouseup="this.style.filter = 'brightness(90%)'" onmouseleave="this.style.filter = 'brightness(100%)'">Wingy Ship</h1></a>
<p>I have a game called <b><i>Wingy Ship</i></b>, where you control the player with your mouse <b><i>(Or touchscreen, the game fully supports that too)</i></b>.</p>
<a href="https://oftenguy.github.io/redirect/MustyDigits.html" title="Musty Digits" target="_blank" style="color: black;"><img src="https://oftenguy.github.io/assets/MustyDigits.png" id="MustyDigits" alt="Musty Digits"><br><h1 style="color: #333333; text-shadow: 2px 2px 1px lightblue;" onmouseover="this.style.filter = 'brightness(75%)'" onmouseout="this.style.filter = 'brightness(100%)'" onmousedown="this.style.filter = 'brightness(125%)'" onmouseup="this.style.filter = 'brightness(90%)'" onmouseleave="this.style.filter = 'brightness(100%)'">Musty Digits</h1></a>
<p>Get yo musty digits off mah back! Did you forget who I am? How DARE you place them upon me... <b><i>(It's a website based on that meme)</i></b>.</p>
<a href="https://oftenguy.github.io/redirect/PortableZoo.html" title="Portable Zoo" target="_blank" style="color: black;"><img src="https://oftenguy.github.io/assets/PortableZoo.png" id="PortableZoo" alt="Portable Zoo" width="200" height="200"><br><h1 style="color: #333333; text-shadow: 2px 2px 1px lightblue;" onmouse="this.style.filter = 'brightness(75%)'" onmouseout="this.style.filter = 'brightness(100%)'" onmousedown="this.style.filter = 'brightness(125%)'" onmouseup="this.style.filter = 'brightness(90%)'" onmouseleave="this.style.filter = 'brightness(100%)'">Portable Zoo</h1></a>
<p>An HTML/CSS/JS recreation of the long-lost app Pocket Zoo™ With Live Animal Cams by Tiny Hearts that brings back its handheld nostalgia.</p>
</div>
</div>
<p id="buildCountAsOfStart" style="opacity: 0; color: rgba(255, 255, 255, 0);"></p>
<div class="footer" style="text-align: center; height: 150px;">
<p><b>© July 5, 2022-<span id="month">MONTH</span> <span id="day">DAY</span>, <span id="year">YEAR</span> OftenGuy ©</b></p><little>V1 Build <span id="build">BUILD</span></little><br><!-- <br><br><a style="font-size: 10; text-decoration: underline; color: #111111; display: none;" id="updated" href="https://oftenguy.github.io" title="Refresh to see current website version">(Updated, refresh)</a><hr style="opacity: 0; color: rgba(128, 128, 128, 0);"> -->
<a title="Refresh" onclick="window.location.reload()" style="color: #454545; margin-left: 0px; padding-bottom: 15px; cursor: pointer;"
onmouseover="this.style.filter = 'brightness(75%)'" onmouseout="this.style.filter = 'brightness(100%)'"
onmousedown="this.style.filter = 'brightness(125%)'" onmouseup="this.style.filter = 'brightness(90%)'" onmouseleave="this.style.filter = 'brightness(100%)'">
<span class="iconify" data-icon="tdesign:refresh" style="color: #454545;">
<noscript>Refresh</noscript>
</span>
</a><br><br>
<a href="https://youtube.com/channel/UCu7a0qLsRb1TNutICA1EZuw?sub_confirmation=1" title="YouTube" id="footerIcon1" target="_blank"><span class="iconify" data-icon="simple-icons:youtube"><noscript>YouTube</noscript></span></a>
<a href="https://scratch.mit.edu/users/OftenScratcher" title="Scratch" id="footerIcon2" target="_blank"><span class="iconify" data-icon="simple-icons:scratch"><noscript>Scratch</noscript></span></a>
<a href="https://roblox.com/users/3445717475/profile" title="Roblox" id="footerIcon3" target="_blank"><span class="iconify" data-icon="simple-icons:roblox"><noscript>Roblox</noscript></span></a>
<a href="https://soundcloud.com/OftenGuy" title="SoundCloud" id="footerIcon4" target="_blank"><span class="iconify" data-icon="simple-icons:soundcloud"><noscript>SoundCloud</noscript></span></a>
<a href="https://oftenuser.newgrounds.com" title="Newgrounds" id="footerIcon5" target="_blank"><span class="iconify" data-icon="game-icons:battle-tank"><noscript>Newgrounds</noscript></span></a>
<a href="https://onlinesequencer.net/members/128045" title="Online Sequencer" id="footerIcon6" target="_blank"><span class="iconify" data-icon="ps:piano"><noscript>Online Sequencer</noscript></span></a>
<a href="https://rooms.onlinesequencer.net/members/38" title="Online Sequencer Rooms" id="footerIcon7" target="_blank"><span class="iconify" data-icon="mdi:door"><noscript>Online Sequencer Rooms</noscript></span></a>
</div>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Emoji", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 0;
overflow-x: hidden;
}
::selection {
background: #AAAAAA;
}
::-moz-selection {
background: #AAAAAA;
}
strong {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Emoji", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
h1, h2 {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Emoji", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: bolder;
}
a {
text-decoration: none;
}
#footerIcon1 {
color: black;
}
#footerIcon2 {
color: black;
}
#footerIcon3 {
color: black;
}
#footerIcon4 {
color: black;
}
#footerIcon5 {
color: black;
}
#footerIcon6 {
color: black;
}
#footerIcon7 {
color: black;
}
#footerIcon1:hover {
color: white;
}
#footerIcon2:hover {
color: white;
}
#footerIcon3:hover {
color: white;
}
#footerIcon4:hover {
color: white;
}
#footerIcon5:hover {
color: white;
}
#footerIcon6:hover {
color: white;
}
#footerIcon7:hover {
color: white;
}
.header {
background: black;
color: white;
height: 175px;
}
.topnav {
overflow: hidden;
background-color: #222;
height: 30px;
padding-top: 5px;
}
#navLink1 {
color: white;
background: #222;
}
#navLink2 {
color: white;
background: #222;
}
#navLink3 {
color: white;
background: #222;
}
#navLink4 {
color: white;
background: #222;
}
#navLink5 {
color: white;
background: #222;
}
#navLink6 {
color: white;
background: #222;
}
#navLink7 {
color: white;
background: #222;
}
.topnav a {
filter: brightness(100%);
}
.topnav a:hover {
filter: brightness(90%);
}
.topnav a:active {
filter: brightness(110%);
font-weight: bold;
}
.row:after {
content: "";
display: table;
clear: both;
}
.footer {
background-color: grey;
padding-top: 3px;
padding-bottom: 30px;
width: 100%;
height: 100%;
height: 85px;
transform: scale(1.5);
margin: -1.5rem 0 1.5rem;
padding: 1.5rem .5rem;
margin-top: 72.5px;
}
#OftenGuy {
animation: rotateMyself 3s ease-in-out;
box-shadow: 5px 5px black;
}
@keyframes rotateMyself {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
#FreeFunGames {
box-shadow: 3px 3px 1px lightblue;
filter: brightness(100%);
}
#WingyShip {
box-shadow: 3px 3px 1px lightblue;
filter: brightness(100%);
}
#MustyDigits {
box-shadow: 3px 3px 1px lightblue;
filter: brightness(100%);
}
#PortableZoo {
box-shadow: 3px 3px 1px lightblue;
filter: brightness(100%);
}
#FreeFunGames:hover {
box-shadow: 7px 7px 5px lightblue;
filter: brightness(90%);
}
#WingyShip:hover {
box-shadow: 7px 7px 5px lightblue;
filter: brightness(90%);
}
#MustyDigits:hover {
box-shadow: 7px 7px 5px lightblue;
filter: brightness(90%);
}
#PortableZoo:hover {
box-shadow: 7px 7px 5px lightblue;
filter: brightness(90%);
}
#FreeFunGames:active {
box-shadow: 5px 5px 3px lightblue;
filter: brightness(110%);
}
#WingyShip:active {
box-shadow: 5px 5px 3px lightblue;
filter: brightness(110%);
}
#MustyDigits:active {
box-shadow: 5px 5px 3px lightblue;
filter: brightness(110%);
}
#PortableZoo:active {
box-shadow: 5px 5px 3px lightblue;
filter: brightness(110%);
}
</style>
<script>
var request = new XMLHttpRequest();
// var startBuildCount = document.getElementById("buildCountAsOfStart");
var build = document.getElementById("build");
// var commitCount = request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last"/)[1];
var startBuild;
var updated = document.getElementById("updated");
setTimeout(function() {
document.getElementById("oftenGuyVideoPlayer").click();
}, 2000);
// setTimeout(function() {
// startBuildCount.innerHTML = build.innerHTML;
// startBuildCount.innerText = parseInt(document.getElementById("build").innerHTML);
// }, 10);
setTimeout(function() {
startBuild = parseInt(build.innerHTML);
console.log(startBuild);
// build.innerHTML = build.innerHTML + startBuild.toString();
}, 10);
setInterval(function() {
const date = new Date();
const months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
const month = months[date.getMonth()];
const day = date.getDate();
const year = date.getFullYear();
document.getElementById("month").innerHTML = month;
document.getElementById("day").innerHTML = day;
document.getElementById("year").innerHTML = year;
}, 1);
request.open('GET', 'https://api.github.com/repos/OftenGuy/oftenguy.github.io/commits?per_page=1', false);
request.send(null);
request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last"/)[1];
build.innerHTML = request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last"/)[1];
console.log(request);
build.innerHTML = parseFloat(request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last"/)[1]);
setInterval(function() {
request.open('GET', 'https://api.github.com/repos/OftenGuy/oftenguy.github.io/commits?per_page=1', false);
request.send(null);
request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last"/)[1];
build.innerHTML = request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last"/)[1];
console.log(request);
build.innerHTML = parseFloat(request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last"/)[1]);
}, 1000);
// setInterval(function() {
// if (document.getElementById("build").innerHTML = startBuildCount.innerHTML) {
// document.getElementById("updated").style.display = "none";
// } else if (document.getElementById("build").innerHTML != startBuildCount.innerHTML) {
// document.getElementById("updated").style.display = "block";
// }
// document.getElementById("updated").style.display = "block";
// if (build.innerHTML = startBuildCount.innerHTML) {
// document.getElementById("updated").style.display = "none";
// console.log(build.innerHTML = startBuildCount.innerHTML);
// console.log(build.innerHTML);
// console.log(startBuildCount.innerHTML);
// }
// if (build.innerHTML != startBuildCount.innerHTML) {
// document.getElementById("updated").style.display = "block";
// console.log(build.innerHTML = startBuildCount.innerHTML);
// console.log(build.innerHTML);
// console.log(startBuildCount.innerHTML);
// }
// }, 10);
/* setInterval(function() {
if (build.innerHTML === startBuild.toString()) {
// document.getElementById("updated").style.display = "block";
build.innerHTML = request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last"/)[1] + "<br><br><a href='https://oftenguy.github.io' title='Refresh to see current website version' style='font-size: 10; text-decoration: underline; color: #111111;'>(Updated, refresh)</a>";
}
if (build.innerHTML != startBuild.toString()) {
build.innerHTML = request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last"/)[1];
}
// if (build.innerHTML = startBuild.toString()) {
// document.getElementById("updated").style.display = "none";
// }
}, 10); */
/* function checkForUpdate() {
request = new XMLHttpRequest();
reqest.open('GET', 'https://api.github.com/repos/OftenGuy/oftenguy.github.io/commits?per_page=1', true);
// build.innerHTML = request.getResponseHeader('link').match(/"next".*page=([0-9]+).*"last")/)[1];
request.onload = function() {
if (request.status === 200) {
var response = JSON.parse(request.responseText);
var latestCommit = response[0].sha;
var commitCount = response.length;
var storedCommit = localStorage.getItem("lastCommit");
build.innerHTML = commitCount;
if (storedCommit && storedCommit != latestCommit) {
updated.style.display = "block";
}
localStorage.setItem("lastCommit", latestCommit);
}
};
request.send();
}
checkForUpdate();
setInterval(checkForUpdate, 3000); */
/* document.addEventListener("DOMContentLoaded", function () {
var build = document.getElementById("build");
var updatedMessage = document.getElementById("updated");
document.addEventListener("DOMContentLoaded", function () {
const buildElement = document.getElementById("build");
const updatedMessage = document.getElementById("updated");
if (!buildElement) return;
function checkForUpdate() {
fetch("https://api.github.com/repos/OftenGuy/oftenguy.github.io/commits")
.then(response => response.json())
.then(data => {
if (data.length > 0) {
const latestCommit = data[0].sha;
const commitCount = data.length;
buildElement.innerText = commitCount;
const lastCommit = localStorage.getItem("lastCommit");
if (lastCommit && lastCommit !== latestCommit) {
updatedMessage.style.display = "block";
}
localStorage.setItem("lastCommit", latestCommit);
}
})
.catch(error => console.error("Error fetching commit data:", error));
}
checkForUpdate();
setInterval(checkForUpdate, 5000);
});
}); */
</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5011706176462974"
crossorigin="anonymous"></script>
</body>
</html>