Fandom Simplifyer

Hide Global Nav bar and "Community" aside

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Fandom Simplifyer
// @namespace    jsnhlbr5
// @version      0.2
// @description  Hide Global Nav bar and "Community" aside
// @author       Jsnhlbr5
// @license      MIT
// @match        https://*.fandom.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=fandom.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    //Remove unnecessary Fandom bloat
//    document.getElementsByClassName("global-navigation")[0].remove();
    document.getElementById('global-explore-navigation').remove();
    document.getElementsByClassName("page__right-rail")[0].remove();
//    document.getElementsByClassName("wikia-bar")[0].remove();
    document.getElementById('WikiaBar').remove();
    document.getElementsByClassName("notifications-placeholder")[0].remove();

    //Remove the space for the Global Nav bar
    var main = document.getElementsByClassName("main-container")[0];
    main.style.margin = 'auto';
    main.style.width = 'auto';
//    document.getElementsByClassName("fandom-sticky-header")[0].style.left = 0;
})();