Blacket Moving Background Diagonal

Makes background.webp slowly move diagonally to top left on Blacket blooks background

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Blacket Moving Background Diagonal
// @version      1.0.0
// @description  Makes background.webp slowly move diagonally to top left on Blacket blooks background
// @match        https://*.blacket.org/*
// @grant        none
// @namespace https://greasyfork.org/users/1479014
// ==/UserScript==

(() => {
  const css = `
    @keyframes animatedBackground {
      0% {
        background-position: 0 0;
      }
      100% {
        background-position: -100px -100px;
      }
    }

    .styles__blooksBackground___3oQ7Y-camelCase {
      background-image: url('/content/background.webp') !important;
      background-repeat: repeat;
      background-size: auto;
      animation: animatedBackground 9s linear infinite;
      -moz-animation: animatedBackground 9s linear infinite;
      -webkit-animation: animatedBackground 9s linear infinite;
      -ms-animation: animatedBackground 9s linear infinite;
      -o-animation: animatedBackground 9s linear infinite;
    }
  `;

  const style = document.createElement('style');
  style.textContent = css;
  document.head.appendChild(style);
})();