Skip to content

Instantly share code, notes, and snippets.

@patrolez
Last active December 19, 2024 14:37
Show Gist options
  • Save patrolez/f322a9863464e77c2fe61746162f43b4 to your computer and use it in GitHub Desktop.
Save patrolez/f322a9863464e77c2fe61746162f43b4 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Śnieg
// @namespace http://tampermonkey.net/
// @version 2024-12-19
// @description try to take over the world!
// @author You
// @match https://pancernik.info/
// @noframes
// @icon https://www.google.com/s2/favicons?sz=64&domain=pancernik.info
// @require https://unpkg.com/magic-snowflakes/dist/snowflakes.min.js
// @grant none
// @run-at document-body
// ==/UserScript==
(async function() {
'use strict';
var snowflakes = new Snowflakes({
color: '#fff', // Default: "#5ECDEF"
count: 100, // 100 snowflakes. Default: 50
minOpacity: 0.1, // From 0 to 1. Default: 0.6
maxOpacity: 0.95, // From 0 to 1. Default: 1
wind: false, // Without wind. Default: true
zIndex: 100, // Default: 9999,
autoResize: true // Default: true
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment