Lolz Background Changer

lolz bg changer

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Lolz Background Changer
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  lolz bg changer
// @author       You
// @license MIT
// @include      http://lolz.guru/*
// @include      https://lolz.guru/*
// @include      http://*.lolz.guru/*
// @include      https://*.lolz.guru/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

// AUTHOR: t.me/json1c
// CHANNEL: t.me/huis_bn

var wallpaper = "https://img.championat.com/c/1350x759/news/big/z/j/the-elder-scrolls-v-skyrim-anniversary-edition-vyshla-na-pk-i-konsolyah_1636612065810839074.jpg"


// ДАЛЬШЕ НЕ ТРОГАТЬ!

var node = document.createElement("style");
node.type = "text/css";

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('body { color: white; background-image: url(' + wallpaper + ');background-position: center;background-repeat: no-repeat;background-attachment: fixed;background-size: cover;}');
//addGlobalStyle(css);