您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the wiki.gg header.
当前为
// ==UserScript== // @name wiki.gg Header Remover // @author yeahimliam // @description Removes the wiki.gg header. // @license CC BY 4.0 // @version 1.0.0 // @grant GM_addStyle // @run-at document-end // @match https://*.wiki.gg/* // @namespace https://gf.qytechs.cn/users/797186 // ==/UserScript== (function() { 'use strict'; let css = ` #mixed-content-footer, .wds-global-footer, #WikiaBarWrapper, .wds-global-navigation__content-bar-left, .global-navigation, .fandom-sticky-header, .gpt-ad, .ad-slot-placeholder.top-leaderboard.is-loading, .page__right-rail, .search-modal::before, form[class^="SearchInput-module_form__"] .wds-icon, .notifications-placeholder, .top-ads-container, .instant-suggestion, .unified-search__result.marketplace, #wikigg-header, .global-navigation, .header-container, .top-ads-container, .bottom-ads-container, .leaderboard-ads-container, .search-header, .site-footer { display: none; } .main-container { width: 100%; margin-left: 0px; } .community-header-wrapper { height: auto; } .search-modal { position: absolute; bottom: auto; left: auto; } .search-modal__content { width: 420px; top: 20px; right: -3px; min-height: auto; background-color: var(--theme-page-background-color--secondary); border: 1px solid var(--theme-border-color); animation: none; } form[class^="SearchInput-module_form__"] { border-bottom: 2px solid var(--theme-border-color); color: var(--theme-border-color); } form[class^="SearchInput-module_form__"] .wds-button { --wds-primary-button-background-color: var(--theme-accent-color); --wds-primary-button-background-color--hover: var(--theme-accent-color--hover); --wds-primary-button-label-color: var(--theme-accent-label-color); } input[class^="SearchInput-module_input__"] { color: var(--theme-page-text-color); border-left: none; padding: 0; } a[class^="SearchResults-module_seeAllResults"] { color: var(--theme-link-color) !important; } `; if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { let styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } // Remove the specific header from wiki.gg sites const header = document.querySelector('#wikigg-header'); if (header) { header.remove(); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址