SkipCut – 极简布局

仅当 URL 包含 'v' 参数时隐藏 SkipCut 上的特定部分

// ==UserScript==
// @name         SkipCut – Minimal Layout
// @name:en      SkipCut – Minimal Layout
// @name:nl      SkipCut – Minimale Lay-out
// @name:es      SkipCut – Diseño Mínimo
// @name:fr      SkipCut – Mise en page minimale
// @name:de      SkipCut – Minimales Layout
// @name:zh-CN   SkipCut – 极简布局
// @name:ja      SkipCut – ミニマルレイアウト
// @name:ru      SkipCut – Минимальная компоновка
// @name:pt      SkipCut – Layout Minimalista
// @name:it      SkipCut – Layout Minimale
// @name:ko      SkipCut – 미니멀 레이아웃
// @namespace    https://greasyfork.org/users/1197317-opus-x
// @version      1.03
// @description  Hide specific sections on SkipCut only if the URL has a 'v' parameter
// @description:en Hide specific sections on SkipCut only if the URL has a 'v' parameter
// @description:nl Verberg specifieke secties op SkipCut alleen als de URL een 'v'-parameter heeft
// @description:es Oculta secciones específicas en SkipCut solo si la URL tiene un parámetro 'v'
// @description:fr Masque des sections spécifiques sur SkipCut uniquement si l'URL contient un paramètre 'v'
// @description:de Blendet bestimmte Abschnitte auf SkipCut aus, wenn die URL einen 'v'-Parameter enthält
// @description:zh-CN 仅当 URL 包含 'v' 参数时隐藏 SkipCut 上的特定部分
// @description:ja URL に 'v' パラメータがある場合にのみ、SkipCut の特定のセクションを非表示にします
// @description:ru Скрывает определённые разделы на SkipCut, только если в URL есть параметр 'v'
// @description:pt Oculta seções específicas no SkipCut apenas se a URL tiver um parâmetro 'v'
// @description:it Nasconde sezioni specifiche su SkipCut solo se l'URL ha un parametro 'v'
// @description:ko URL에 'v' 매개변수가 있을 때만 SkipCut의 특정 섹션을 숨깁니다
// @author       Opus-X
// @license      MIT
// @match        https://skipcut.com/*
// @match        https://www.skipcut.com/*
// @run-at       document-start
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    // Check if the URL contains the 'v' parameter
    const urlParams = new URLSearchParams(window.location.search);
    if (!urlParams.has('v')) return;  // Do nothing if 'v' is not present

    // CSS toepassen voor minimal mode
    GM_addStyle(`
        /* Verberg onnodige secties */
        .nav-menu,
        .hero-section,
        .input-section,
        #bmc-wbtn,
        .trending-container,
        .features-highlight,
        .testimonials-section,
        .infographic-section,
        .faq-section,
        .featured-section,
        .footer-container,
        .ybug-launcher--active,
        .footer,
        .mobile-menu-toggle,
        .mob-nav-link,
        .history-section {
            display: none !important;
        }

        /* Container compact maken */
        .container {
            width: 100% !important;
            min-height: auto !important;
            padding: 1rem !important;
        }

        /* Body padding verkleinen */
        body {
            padding-top: 32px !important;
        }
    `);
})();