Greasy Fork

Greasy Fork is available in English.

面试鸭浏览助手

面试鸭浏览助手,功能包含:解除刷题页的禁止选择,隐藏刷题页内与刷题无关的内容

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         面试鸭浏览助手
// @namespace
// @include      *://www.mianshiya.com/bank/*/question/*
// @match        *://www.mianshiya.com/bank/*/question/*
// @version      0.1.2
// @description  面试鸭浏览助手,功能包含:解除刷题页的禁止选择,隐藏刷题页内与刷题无关的内容
// @author       ymzhao
// @namespace 
// @license      MIT
// @grant        GM_addStyle
// ==/UserScript==
GM_addStyle(`
    /* 解除刷题页的禁止选择 */
    body {
        user-select: initial !important;
    }
    /* 隐藏header */
    .ant-pro-layout .ant-layout-header.ant-pro-layout-header,
    /* 隐藏header广栏告 */
    body>.ant-float-btn-group+div:not(#basicLayout),
    /* footer */
    .footer-container,
    /* 隐藏右侧边栏除目录外的所有内容 .content-space>.ant-row>.ant-col:not(:has(.question-main)) .ant-card:not(.toc-card) */
    .hot-rank-card, .recommend-course-card, .user-group-qrcode-card,
    /* 隐藏固定在右侧的按钮组 */
    :where(.css-m4timi).ant-float-btn-group-square-shadow,
    /* footer */
    .question-main>footer,
    /* 尾部:作者 & 分享 */
    .question-main .best-answer-author,
    .question-main .shareFooter,
    /* 右侧 新人专属礼 */
    .float-red-packet-container
    {display:none !important;}

    .site-layout-background>.content-space>.immersion-float-btn {bottom:30px !important}
`);