MLG Web Design

Turn websites you visit in a hypnotic mess only true 360° quickscopers can use.

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          MLG Web Design
// @match *://*/*
// @description   Turn websites you visit in a hypnotic mess only true 360° quickscopers can use.
// @namespace ad48
// @version 0.69b
// @grant none
// @include       *://*/*
// @run-at        document-start
// ==/UserScript==
  setInterval(function(){
    var h3s = document.body.getElementsByTagName("*");
     var h2s = document.body.getElementsByTagName("h1");
       var h1s = document.body.getElementsByTagName("h1");
       var ps = document.body.getElementsByTagName("p");
    for(i = 0; i < h3s.length; i++) {
      if(!h3s[i].getAttribute("canRot") || h3s[i].getAttribute("canRot")=="null") {
       if(Math.random()>0.911) {
        h3s[i].setAttribute("canRot","true");
       }
        else {
           h3s[i].setAttribute("canRot","false");
        }
      }
      if(!h3s[i].getAttribute("canPos") || h3s[i].getAttribute("canPos")=="null") {
       if(Math.random()>0.81) {
        h3s[i].setAttribute("canPos","true");
       }
        else {
           h3s[i].setAttribute("canPos","false");
        }
      }
      h3s[i].style.color="hsl("+(Math.random()*360).toString()+",100%,50%)";
      if((h3s[i].style.position=="relative" || h3s[i].style.position=="" || h3s[i].style.position=="null") && h3s[i].outerText!=""&& h3s[i].childElementCount==0) {
       if(h3s[i].getAttribute("canRot")=="true") {
        if(!h3s[i].getAttribute("rotX") || h3s[i].getAttribute("rotX")=="null") {
          h3s[i].setAttribute("rotX",Math.random()*360);
        }
        else {
          while(parseInt(h3s[i].getAttribute("rotX"))>360) {
             h3s[i].setAttribute("rotX",(parseInt(h3s[i].getAttribute("rotX"))-360).toString());
          }
          h3s[i].setAttribute("rotX",(parseInt(h3s[i].getAttribute("rotX"))+4.2).toString());
        }
         h3s[i].style.transform="rotateZ("+h3s[i].getAttribute("rotX")+"deg)";
        }
        if(h3s[i].getAttribute("canPos")=="true") {
        h3s[i].style.left=(Math.random()*12.24).toString()+"px";
        h3s[i].style.top=(Math.random()*12.24).toString()+"px";
      }
      }
    }
  }, 69);