面试鸭浏览助手,功能包含:解除刷题页的禁止选择,隐藏刷题页内与刷题无关的内容
// ==UserScript==
// @name 面试鸭浏览助手
// @namespace
// @include *://www.mianshiya.com/bank/*/question/*
// @match *://www.mianshiya.com/bank/*/question/*
// @version 0.1.1
// @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),
/* 隐藏右侧边栏除目录外的所有内容 .custom-affix>div>div>div:not(:first-child) */
.custom-affix,
/* 隐藏固定在右侧的按钮组 */
:where(.css-m4timi).ant-float-btn-group-square-shadow,
/* footer */
.question-main>footer,
/* 问题作者 */
.question-main .best-answer-author
{display:none !important;}
.site-layout-background>.content-space>.immersion-float-btn {bottom:30px !important}
`);