Skip to content
Permalink
Browse files

// you saw nothing

  • Loading branch information...
flashwave committed Jun 13, 2019
1 parent b416bfb commit 1acaad599997ca86c1def2144ae4ab4bb09d911e
Showing with 18 additions and 1 deletion.
  1. +17 −0 assets/typescript/{misuzu.ts → misuzu.tsx}
  2. BIN public/images/ffbxexy.png
  3. +1 −1 tsconfig.json
@@ -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 &amp; 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 {
Binary file not shown.
@@ -11,6 +11,6 @@
"sourceMap": false,
},
"files": [
"./assets/typescript/misuzu.ts",
"./assets/typescript/misuzu.tsx",
]
}

0 comments on commit 1acaad5

Please sign in to comment.
You can’t perform that action at this time.