您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically load highest resolution picture on Pixiv.net and auto expand galleries
// ==UserScript== // @name Auto load images on Pixiv.net // @namespace http://tampermonkey.net/ // @version 0.1 // @description Automatically load highest resolution picture on Pixiv.net and auto expand galleries // @author You // @match https://www.pixiv.net/en/artworks/* // @icon https://www.google.com/s2/favicons?domain=pixiv.net // @grant none // @run-at document-idle // ==/UserScript== 'use strict'; function vKeyDown () { document.body.dispatchEvent( new KeyboardEvent('keydown', {bubbles: true, key: 'v',}) ) } const observer = new MutationObserver(function(mutations) { if(!document.querySelector (".gtm-manga-viewer-preview-modal-open, .gtm-medium-work-expanded-view")) {return;} observer.disconnect(); vKeyDown() }) observer.observe(document.body, {childList: true, subtree: true})