Skip to content

Commit

Permalink
Revert fast snow- this was added into cemetech!
Browse files Browse the repository at this point in the history
\o/
  • Loading branch information
Legend-of-iPhoenix committed Dec 22, 2020
1 parent dfdf2b6 commit 95c4696
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
9 changes: 0 additions & 9 deletions src/userstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -467,15 +467,6 @@ canvas#screen, canvas#big_screen_canvas {
}


/* fix slow snow */

.fast_snow_overlay {
position: absolute;
width: 100%;
top: -1px;
}


/* add version information to footer */


Expand Down
13 changes: 0 additions & 13 deletions src/userstyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,6 @@ new Tweak("Fix unicode in post titles while searching.", /cemetech\.net\/forum\/
})
});

new Tweak("Fix slow snow", /cemetech\.net/, () => {
const slow_snow_overlay = document.querySelector(".banner_snow_overlay");
const fast_snow_overlay = document.createElement("video");

fast_snow_overlay.autoplay = fast_snow_overlay.loop = fast_snow_overlay.muted = true;

// quite possibly the sneakiest thing I've ever done
fast_snow_overlay.src = "https://i.imgur.com/YEOLQvh.mp4";
fast_snow_overlay.classList = "fast_snow_overlay";

slow_snow_overlay.parentNode.replaceChild(fast_snow_overlay, slow_snow_overlay);
});

// stolen from womp https://github.com/mrwompwomp/Cemetech-Userstyle/blob/37aca9ebc1112f660abfa33eaf086a45e14b973f/wompScript.js#L1-L15
new Tweak("Shorter dates.", /cemetech\.net\/forum\/search\.php/, () => {
const options = {
Expand Down

0 comments on commit 95c4696

Please sign in to comment.