您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
替换 Pixiv 的图片为高画质原图
当前为
// ==UserScript== // @name Pixiv Replace With Original // @name:zh-TW Pixiv 替換為高畫質原圖 // @name:zh-CN Pixiv 替换为高画质原图 // @namespace https://blog.maple3142.net/ // @version 0.4 // @description Replace Pixiv image with original image // @description:zh-TW 替換 Pixiv 的圖片為高畫質原圖 // @description:zh-CN 替换 Pixiv 的图片为高画质原图 // @author maple3142 // @match https://www.pixiv.net/member_illust.php?mode=medium&illust_id=* // @match https://www.pixiv.net/member_illust.php?illust_id=*&mode=medium // @compatible firefox >=52 // @compatible chrome >=55 // ==/UserScript== ;(function() { 'use strict' const $ = s => document.querySelector(s) const $$ = s => [...document.querySelectorAll(s)] function onDomChange(cb) { new MutationObserver(() => setTimeout(cb, 50)).observe(document.body, { childList: true }) } function replaceImage() { const els = $$('div[role=presentation]>a') for (const a of els) { const image = a.querySelector('img') image.src = a.href image.srcset = '' } } onDomChange(replaceImage) })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址