Fandom - Just the Wiki

Turns Fandom into a clean and readable wiki.

当前为 2025-10-02 提交的版本,查看 最新版本

// ==UserScript==
// @name         Fandom - Just the Wiki
// @version      2.1.2
// @description  Turns Fandom into a clean and readable wiki.
// @author       samerop
// @license      MIT
// @match        https://*.fandom.com/*
// @run-at       document-start
// @grant        none
// @namespace    https://gf.qytechs.cn/users/1426714
// ==/UserScript==

(function() {
    'use strict';

    const customCss = `
        .page__right-rail,
        #global-explore-navigation,
        .notifications-placeholder {
            display: none !important;
        }

        .main-container {
            width: 100% !important;
            margin-left: 0 !important;
        }

        .fandom-community-header__background.fullScreen {
            width: 100% !important;
        }

        body.f2-page:not(.article-editor-body):not(.no-global-nav) {
            margin-left: 0 !important;
        }

        .fandom-community-header__background.fitCenter.fullScreen::before,
        .fandom-community-header__background.fitTopLeft.fullScreen::before,
        .fandom-community-header__background.fitTopRight.fullScreen::before,
        .fandom-community-header__background.header::before {
            position: static !important;
        }
    `;

    const style = document.createElement('style');
    style.textContent = customCss;
    document.documentElement.appendChild(style);
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址