More actions
Note: After publishing, 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: Press Ctrl-F5.
// Inject banner
var img = document.createElement('img');
img.src = 'https://static.miraheze.org/blackorchestrawiki/5/58/Black_Orchestra_Banner.png';
img.className = 'custom-logo';
var bannerContainer = document.querySelector('span.mw-logo-container');
bannerContainer.insertBefore(img, bannerContainer.firstChild);
// Dark mode icon
var liElement = document.getElementById("pt-darkmode");
var firstSpan = liElement.querySelector('span');
firstSpan.innerText = ''; // Keeping it blank
firstSpan.style.background-image = 'url("/w/load.php?modules=skins.vector.icons&image=star&format=original&lang=en&skin=vector-2022&version=mvyy1");}';