Message
Message
// @name s
// @namespace http://tampermonkey.net/
// @version 0.1
// @description s
// @author bitzk
// @match https://bloxflip.com/*
// @connect *
// @grant GM_setValue
// @grant GM_getValue
// @grant none
// @icon
https://media.discordapp.net/attachments/1174408600031072257/1181369283922624602/
descarga_3.jpeg?
ex=6580cee2&is=656e59e2&hm=aa489e5cdec72db3523dcb3850ffcbfd2cc762d48f7551079bff7a05
ea135667&=&format=webp
// ==/UserScript==
const createSnowflake = function () {
const _0x398468 = document.createElement("div");
_0x398468.className = "snowflake";
_0x398468.style.position = "absolute";
_0x398468.style.width = "14px";
_0x398468.style.height = "14px";
_0x398468.style.background = "#fff";
_0x398468.style.borderRadius = "50%";
_0x398468.style.zIndex = "9998";
_0x398468.style.opacity = Math.random();
_0x398468.style.left = Math.random() * 100 + 'vw';
_0x398468.style.animation = "fall " + (Math.random() * 2 + 1) + "s linear
infinite";
_0x398468.addEventListener("animationiteration", function () {
_0x398468.style.left = Math.random() * 100 + 'vw';
_0x398468.style.opacity = Math.random();
});
return _0x398468;
};
const styleSnowflakes = document.createElement("style");
styleSnowflakes.textContent = " @keyframes fall { 0% { transform: translateY(-
10vh); opacity: 1; } 100% { transform: translateY(110vh); opacity: 0; } } .fast-
fall { animation-duration: " + (Math.random() * 1 + 1) + "s; } ";
document.head.appendChild(styleSnowflakes);
const snowflakeContainer = document.createElement("div");
snowflakeContainer.style.position = "absolute";
snowflakeContainer.style.top = '0';
snowflakeContainer.style.left = '0';
snowflakeContainer.style.width = "100%";
snowflakeContainer.style.height = "100%";
snowflakeContainer.style.pointerEvents = "none";
snowflakeContainer.style.zIndex = "9998";
document.body.appendChild(snowflakeContainer);
for (let i = 0; i < 40; i++) {
const snowflake = createSnowflake();
if (Math.random() > 0.7) {
snowflake.classList.add("fast-fall");
}
snowflakeContainer.appendChild(snowflake);
}
(function () {
'use strict';