From Test-Scratch-Wiki
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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.querySelector('[aria-label="Scratch Wikis"]').remove(); console.log('Loaded');