simplify zhihu

simplify zhihu. simple, simplified, simply.

目前為 2020-08-12 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         simplify zhihu
// @namespace    https://greasyfork.org/scripts/38774
// @version      0.9
// @description         simplify zhihu. simple, simplified, simply.
// @description:zh-CN   知乎简化版,去掉固定和浮动内容, 只保留最基本的正文. 简化,精简知乎。
// @description:zh-CN   v0.8 解决专栏回到顶部闪烁问题
// @description:zh-CN   v0.9 增加专栏匹配。禁止问题页面登录弹窗;评论区隐藏输入框
// @description:zh-CN   参考:极简知乎 https://greasyfork.org/en/scripts/37823
// @description:zh-CN   参考:知乎免登陆自动跳转发现页 https://greasyfork.org/en/scripts/404602
// @author       chaosky
// @match        https://www.zhihu.com/question/*
// @match        https://www.zhihu.com/people/*
// @match        https://www.zhihu.com/topic/*
// @match        https://www.zhihu.com/search?*
// @match        https://zhuanlan.zhihu.com/*
// @match        https://www.zhihu.com/follow
// @match        https://www.zhihu.com
// @match        https://zhuanlan.zhihu.com/p/*
// @grant        GM_log
// @grant        GM_addStyle
// @
// ==/UserScript==

(function() {
    GM_addStyle (`
.CommentEditor-input { display: none !important; }
.CommentEditor-singleButton { display: none !important; }

.Sticky.is-fixed { position: relative !important; }
.Sticky--holder { display: none !important; }

.Modal-backdrop{background-color: transparent;}
.signFlowModal{display:none !important;}

.Question-sideColumn--sticky { position: relative !important; }
.AppHeader { display: none !important; }
.GlobalSideBar { display: none !important; }
.Question-sideColumn { display: none !important; }
.AdblockBanner { display: none !important; }
.Post-SideActions { display: none !important; }
    `);
    // 问题页面登录弹窗
    GM_addStyle (`
html { overflow: auto !important;}
.Modal-wrapper { display:none !important; }
.Modal-backdrop { display:none !important; background-color: transparent; }
.signFlowModal { display:none !important; }
    `);
    // 评论区隐藏输入框
    GM_addStyle (`
.CommentEditorV2--normal { display: none !important; }
.CommentEditor-singleButton { display: none !important; }
 `);
})();