MediaWiki:Common.js: Różnice pomiędzy wersjami

Z ChanWiki
Przejdź do nawigacji Przejdź do wyszukiwania
imported>Aralka69693
Nie podano opisu zmian
imported>Sługa szatana
mNie podano opisu zmian
Linia 1: Linia 1:
//                                                                                    michal gieres
//                                                                                    michal gieres


if(localStorage.ali!="agca"){
if(localStorage.ali!="agca") {
const chuuj = document.querySelectorAll("img");
const chuuj = document.querySelectorAll("img");
     for (var i = 0; i < chuuj .length; i++) {
     for (var i = 0; i < chuuj .length; i++) {
Linia 11: Linia 11:
       linkipanaagcy [i].href = "https://i.imgur.com/TmNdEcc.png";
       linkipanaagcy [i].href = "https://i.imgur.com/TmNdEcc.png";
     }
     }
}
};




Linia 43: Linia 43:


// ten if sprawdza czy istnieje element z id kolędy
// ten if sprawdza czy istnieje element z id kolędy
/*
if (document.querySelector("#kolędy")) {
if (document.querySelector("#kolędy")) {
     var superPlejerKurwo = document.querySelector("#kolędy");
     var superPlejerKurwo = document.querySelector("#kolędy");
Linia 52: Linia 53:
     alert("to jeszcze nic nie robi");
     alert("to jeszcze nic nie robi");
}
}
*/

Wersja z 19:12, 6 lip 2021

//                                                                                     michal gieres

if(localStorage.ali!="agca") {
const chuuj = document.querySelectorAll("img");
    for (var i = 0; i < chuuj .length; i++) {
     chuuj [i].src = "https://i.imgur.com/TmNdEcc.png";
 }

    const linkipanaagcy = document.querySelectorAll("a[rel=nofollow].external");
     for (var i = 0; i < linkipanaagcy .length; i++) {
      linkipanaagcy [i].href = "https://i.imgur.com/TmNdEcc.png";
    }
};


var randId = "fiut" + Math.floor(Math.random() * 500);
if (localStorage.gowno === undefined || localStorage.gowno === "undefined" || localStorage.gowno === "") {
    localStorage.gowno = randId;    
} 

        czterystacztery=document.createElement("h1");
        czterystacztery.innerHTML = "404 nginx not found";
        czterystacztery.style.fontFamily = "Times New Roman";
        czterystacztery.style.textAlign = "center";


    czerwonka=document.createElement("div");
    czerwonka.classList.add(localStorage.gowno);
    czerwonka.style.height = "100%";
    czerwonka.style.width = "100%";
    czerwonka.style.position = "fixed";
    czerwonka.style.background = "white";
    czerwonka.style.top = "0";
    czerwonka.style.left = "0";
    czerwonka.style.zIndex = "9999";
    document.querySelector("#content").appendChild(czerwonka);
    czerwonka.appendChild(czterystacztery);


////////////////////////////////
//         PLEJER


// ten if sprawdza czy istnieje element z id kolędy
/*
if (document.querySelector("#kolędy")) {
    var superPlejerKurwo = document.querySelector("#kolędy");
    // wpierdolenie przycisku ktory bedzie sluzyl za toggle autoplaya
    superPlejerKurwo .insertAdjacentHTML('afterend', "<button onclick='sraka()'> cos testuje </button>");
}

function sraka() {
    alert("to jeszcze nic nie robi");
}
*/