// ==UserScript== // @name Fandom - Just the Wiki // @version 2.1.1 // @description Turns Fandom into a clean and readable wiki. // @author samerop // @license MIT // @match https://*.fandom.com/* // @run-at document-start // @namespace https://greasyfork.org/users/1426714 // @downloadURL none // ==/UserScript== (function() { 'use strict'; const selectorsToHide = [ ".page__right-rail", "#global-explore-navigation", ".notifications-placeholder" ]; const hideCss = selectorsToHide.join(',\n') + ' { display: none !important; }'; const styleFixesCss = ` .fandom-community-header__background { width: 100% !important; } .main-container { width: 100% !important; margin-left: 0 !important; } body { margin-left: 0 !important; } .fandom-community-header__background.fitCenter { background-size: cover !important; } `; const style = document.createElement('style'); style.textContent = hideCss + '\n' + styleFixesCss; document.documentElement.appendChild(style); })();