Järjestelmäviesti:Common.js
Huomautus: Selaimen välimuisti pitää tyhjentää asetusten tallentamisen jälkeen, jotta muutokset tulisivat voimaan.
- Firefox ja Safari: Napsauta Shift-näppäin pohjassa Päivitä, tai paina Ctrl-F5 tai Ctrl-R (⌘-R Macilla)
- Google Chrome: Paina Ctrl-Shift-R (⌘-Shift-R Macilla)
- Edge: Napsauta Ctrl-näppäin pohjassa Päivitä tai paina Ctrl-F5
// Hide page actions from public wiki
// Get the current page URL
var currentUrl = window.location.href;
// Define the base URL to match
var baseUrl = "https://wiki.praedor.net/";
// Check if the current URL matches the base URL
if (currentUrl.indexOf(baseUrl) === 0) {
// If the URLs match, hide the element with the "page-actions" class
var elementsToHide = document.getElementsByClassName("page-actions");
for (var i = 0; i < elementsToHide.length; i++) {
elementsToHide[i].style.display = "none";
}
}
document.addEventListener('DOMContentLoaded', function() {
localStorage.setItem('skin-citizen-theme', 'dark');
localStorage.setItem('skin-citizen-fontsize', '100%');
localStorage.setItem('skin-citizen-lineheight', '1.4');
localStorage.setItem('skin-citizen-pagewidth', '1080px');
applyPref();
});