知乎-获取无水印原图

获取知乎无水印图片,并替换掉页面上的有水印图片

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!)

Author
PeterJXL
Daily installs
0
Total installs
52
Ratings
0 0 0
Version
1.1
Created
2025-03-29
Updated
2025-04-13
Size
1.62 KB
Compatibility
Compatible with Chrome
License
MIT
Applies to

脚本功能:获取知乎无水印原图并替换。

脚本原理:知乎的 Img 标签中,有个 data-original-token 属性,值为无水印图片的文件名。先获取它,再替换掉 Img 标签的 src 属性中的图片文件名,即可显示无水印图片。

使用方法:安装后即可生效

注意事项:可能会和其他知乎脚本冲突,例如「知乎美化」,还在调试中...

开源地址:https://github.com/Peter-JXL/UserScript,欢迎提 PR 和 issue

测试案例:油猴脚本测试文章 - 知乎,里面包含一张带水印的图片

相关脚本:知乎 - 移除自动关键字链接