您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Title says all. Better used with userstyle: https://userstyles.org/styles/166921/screenshot-slideshow-fixer-for-steam
当前为
// ==UserScript== // @name HIRES Screenshots for Steam! // @description Title says all. Better used with userstyle: https://userstyles.org/styles/166921/screenshot-slideshow-fixer-for-steam // @namespace http://bohnke.com/ // @version 0.1 // @author mrbohnke // @match https://store.steampowered.com/app/* // @grant none // ==/UserScript== (function() { 'use strict'; jQuery('.screenshot_holder').each(function(){ var hiresImg = jQuery(this).find('.highlight_screenshot_link').prop('href'); jQuery(this).find('img').prop('src', hiresImg); }) var target = document.getElementById("highlight_strip_scroll"); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { jQuery('.screenshot_holder').each(function(){ var hiresImg = jQuery(this).find('.highlight_screenshot_link').prop('href'); jQuery(this).find('img').prop('src', hiresImg); }) }); }); var config = { subtree: true, attributes: true, childList: true, characterData: true }; observer.observe(target, config); })();