Zhihu Watermark Remover

Remove blind watermarks from Zhihu webpages

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Zhihu Watermark Remover
// @name:zh-CN   删掉知乎网页版水印
// @name:zh-TW   移除知乎 Web 版水印
// @namespace    http://overflow.cat/
// @version      0.2
// @description  Remove blind watermarks from Zhihu webpages
// @description:zh-CN  删掉知乎网页版的水印
// @description:zh-TW  移除知乎 Web 版的水印
// @author       OverflowCat
// @match        https://*.zhihu.com/*
// @match        http://*.zhihu.com/*
// @match        https://zhihu.com/*
// @match        http://zhihu.com/*
// @license      WTFPL
// @icon         https://www.google.com/s2/favicons?sz=64&domain=zhihu.com
// @grant        none
// ==/UserScript==

(function () {
    'use strict';
    document.querySelectorAll("#root > div > div").forEach(ele => {
        if (getComputedStyle(ele).backgroundImage.startsWith(`url("data:image/svg+xml;`)) ele.remove();
    })
})();