From Test-Scratch-Wiki

< User:-iviedwall-

(Removed unused interwikis)
Line 48: Line 48:
 
document.getElementById("n-.E6.97.A5.E6.9C.AC.E8.AA.9E").remove();
 
document.getElementById("n-.E6.97.A5.E6.9C.AC.E8.AA.9E").remove();
 
document.getElementById("n-Fran.C3.A7ais").remove();
 
document.getElementById("n-Fran.C3.A7ais").remove();
 +
console.log("Loaded")

Revision as of 04:32, 22 July 2022

/* Remove lang attribute from editor so the font is more readable (not having syntax highlight is enough) */
document.getElementById("wpTextbox1").removeAttribute("lang");
/* Add semicolon */
const scDiv = document.createElement("div");
const semicolon = document.createTextNode("  ;");
scDiv.appendChild(semicolon);
const notNav = document.getElementById("not-nav");
notNav.appendChild(scDiv);
/* Add status to left navbar */
const statusLI = document.createElement("li");
statusLI.setAttribute("id", "n-Your-Status");
const statusLink = document.createElement("a");
statusLink.setAttribute("href", "/wiki/Special:MyPage/status");
statusLink.appendChild(document.createTextNode("Your Status"));
statusLI.appendChild(statusLink);
const nEdit = document.getElementById("n-Edit");
const parentBox = nEdit.parentNode;
parentBox.insertBefore(statusLI, nEdit)
/* Removing some interwikis since I don't use them */
document.getElementById("n-.3D.3D.3D.3D.3D-TEST-.3D.3D.3D.3D.3D").remove();
document.getElementById("n-Italiano").remove();
document.getElementById("n-Espa.C3.B1ol").remove();
document.getElementById("n-Portugu.C3.AAs").remove();
document.getElementById("n-Polski").remove();
document.getElementById("n-T.C3.BCrk.C3.A7e").remove();
document.getElementById("n-.ED.95.9C.EA.B5.AD.EC.96.B4").remove();
document.getElementById("n-.E0.A4.B9.E0.A4.BF.E0.A4.A8.E0.A5.8D.E0.A4.A6.E0.A5.80").remove();
document.getElementById("n-.D7.A2.D7.91.D7.A8.D7.99.D7.AA").remove();
document.getElementById("n-Sloven.C5.A1.C4.8Dina").remove();
document.getElementById("n-.D8.A7.D9.84.D8.B9.D8.B1.D8.A8.D9.8A.D8.A9").remove();
document.getElementById("n-Latina").remove();
document.getElementById("n-.D1.83.D0.BA.D1.80.D0.B0.D1.97.D0.BD.D1.81.D1.8C.D0.BA.D0.B0-.D0.BC.D0.BE.D0.B2.D0.B0").remove();
document.getElementById("n-Shqip").remove();
document.getElementById("n-.E0.A6.AC.E0.A6.BE.E0.A6.82.E0.A6.B2.E0.A6.BE").remove();
document.getElementById("n-.E0.AA.97.E0.AB.81.E0.AA.9C.E0.AA.B0.E0.AA.BE.E0.AA.A4.E0.AB.80").remove();
document.getElementById("n-Rom.C3.A2n.C4.83").remove();
document.getElementById("n-.C4.8De.C5.A1tina").remove();
document.getElementById("n-Slov.C3.A1k").remove();
document.getElementById("n-Malti").remove();
document.getElementById("n-Suomi").remove();
document.getElementById("n-.3D.3D.3D.3D.3D-DEMO-.3D.3D.3D.3D.3D").remove();
document.getElementById("n-.3D.3D.3D.3D.3D-REAL-.3D.3D.3D.3D.3D").remove();
document.getElementById("n-Deutsch").remove();
document.getElementById("n-Bahasa-Indonesia").remove();
document.getElementById("n-Magyar").remove();
document.getElementById("n-Nederlands").remove();
document.getElementById("n-.D0.A0.D1.83.D1.81.D1.81.D0.BA.D0.B8.D0.B9").remove();
document.getElementById("n-.E6.97.A5.E6.9C.AC.E8.AA.9E").remove();
document.getElementById("n-Fran.C3.A7ais").remove();
console.log("Loaded")
Cookies help us deliver our services. By using our services, you agree to our use of cookies.