// you saw nothing
This commit is contained in:
parent
119bbdd3e8
commit
45bb3cad1c
3 changed files with 18 additions and 1 deletions
|
@ -111,6 +111,23 @@ window.addEventListener('load', () => {
|
|||
commentsInit();
|
||||
forumPostingInit();
|
||||
forumPollsInit();
|
||||
|
||||
if(Math.round(Math.random() * 1000) > 900)
|
||||
<img src="about:logo" onError={() => {
|
||||
let ffxPos: number = -1000;
|
||||
const ffx: HTMLElement = <a href="https://firefox.com" title="This PSA is brought to you by the van de Groep & von Schnitzel Alliance For A Better Tomorrow."
|
||||
style={`position: fixed; bottom: ${ffxPos}px; left: calc(50% - 234px);`}>
|
||||
<img src="/images/ffbxexy.png" alt="Get Firefox!"/>
|
||||
</a>;
|
||||
|
||||
const ffxInterval: number = setInterval(() => {
|
||||
ffx.style.bottom = (ffxPos++).toString() + "px";
|
||||
if(ffxPos >= 10)
|
||||
clearInterval(ffxInterval);
|
||||
}, 100);
|
||||
|
||||
document.body.append(ffx);
|
||||
}}/>
|
||||
});
|
||||
|
||||
function loginFormUpdateAvatar(avatarElement: HTMLElement, usernameElement: HTMLInputElement, force: boolean = false): void {
|
BIN
public/images/ffbxexy.png
Normal file
BIN
public/images/ffbxexy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
|
@ -11,6 +11,6 @@
|
|||
"sourceMap": false,
|
||||
},
|
||||
"files": [
|
||||
"./assets/typescript/misuzu.ts",
|
||||
"./assets/typescript/misuzu.tsx",
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue