您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Die kleinen Avatar-Bilder werden gegen größere ausgetauscht.
// ==UserScript== // @name Größere Avatare für das Heise-Forum // @author pizzahut // @description Die kleinen Avatar-Bilder werden gegen größere ausgetauscht. // @license MIT // @match https://www.heise.de/forum/heise-online/Kommentare/* // @namespace https://greasyfork.org/users/1117297-pizzahut // @grant none // @version 1 // ==/UserScript== var items, thisItem, i; items = document.evaluate("//img[ contains(@src, '/imagine/') and contains(@src, '/preview/') ]", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null); for (i = 0; i < items.snapshotLength; i++) { thisItem = items.snapshotItem(i); thisItem.src = thisItem.src.replace(/\/preview\//,'/gallery/'); thisItem.style = "max-width: 122px !important;" }