您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Display high resolution images on wykop.pl
当前为
// ==UserScript== // @name Better wykop // @namespace http://tampermonkey.net/ // @version 0.1.4 // @description Display high resolution images on wykop.pl // @author You // @match *://*.wykop.pl/* // @grant none // ==/UserScript== const updateImages = () => { const images = document.querySelectorAll('img'); if (images) { images.forEach((image) => { const lowQualitySrc = image.getAttribute('src') || '' // image.style['max-height'] = `${image.height}px` image.style['max-width'] = `${image.width}px` image.setAttribute( 'src', lowQualitySrc .replace(',q40', '') .replace(',w400', '') .replace(',w113h64', '') .replace(',w207h139', '') .replace(',w300h223', '') ) }) } } (() => { document.onreadystatechange = () => { if (document.readyState === 'complete') { setTimeout(() => { document.addEventListener('click', updateImages) updateImages() }, 500) } }; })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址