Greasy Fork

Greasy Fork is available in English.

知乎网站样式优化(增加摸鱼友好性)

修改样式,个人偏好内容栏靠右,隐藏所有图片,适合不适宜目光总是左撇到电脑最左边且不想看到图片的打工人

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         知乎网站样式优化(增加摸鱼友好性)
// @namespace    http://tampermonkey.net/
// @version      0.13
// @description  修改样式,个人偏好内容栏靠右,隐藏所有图片,适合不适宜目光总是左撇到电脑最左边且不想看到图片的打工人
// @author       fxalll
// @match        https://www.zhihu.com/*
// @match        https://www2.zhihu.com/*
// @match        https://www.zhihu.com/question/*
// @match        https://www.zhihu.com/question/*/answer/*
// @match        https://www.zhihu.com/search*
// @match        https://www.zhihu.com/collection/*
// @icon         https://static.zhihu.com/heifetz/favicon.ico
// @grant        none
// @license      GPL-3.0 License
// @require      https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js
// ==/UserScript==

(function() {
    'use strict';
    document.querySelector("body").style.color = "#848e9e"
    setInterval(()=>{
        document.querySelectorAll(".ContentItem-title").forEach((e)=>{e.style.color = "#848e9e"})
    },1000)
    document.querySelector('.Topstory-container').style.flexDirection="row-reverse"
    document.querySelector('.Topstory-content').style.marginLeft='50px'
    document.querySelector('.Topstory-content').style.marginRight='30px'
    document.querySelector('.css-1qyytj7').style.marginLeft='50px'

        var imgHiden = function() {
        $(".RichContent-cover-inner").each(function(){
            $(this).hide();
        });
        $(".ZVideoRecommendationItem-thumbnailImage").each(function(){
            $(this).hide();
        });
        $(".QuestionHeader-title").each(function(){
            $(this).hide();
        });
        $("iframee").each(function(){
            $(this).hide();
        });
        $("img").each(function(){
            $(this).hide();
        });
        $("svg").each(function(){
            $(this).hide();
        });
    };
    imgHiden();
    var id = setInterval(function(){
        imgHiden();
    }, 300)




})();