NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name hide zhihu banner and images
// @namespace Violentmonkey Scripts
// @match *://www.zhihu.com/*
// @match *://zhuanlan.zhihu.com/*
// @license MIT
// @version 0.1
// @author bingbing
// @icon https://static.zhihu.com/heifetz/favicon.ico
// @description 2022/11/9 15:56:59
// ==/UserScript==
(function() {
'use strict';
let header = document.querySelector('header.AppHeader');
header && (header.style.display = 'none');
//let document.querySelector('.Post-Sub.Post-NormalSub').style.display = 'none';
var article = document.querySelector('.Post-Main.Post-NormalMain') || document.body;
[].forEach.call(article.querySelectorAll('img'), function(img){
img.style.display = 'none';
});
// alert('alert it...')
})();