您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
1-Click download on 10wallpaper. You should select the resolution before downloading.
当前为
// ==UserScript== // @name 10wallpaper downloader // @namespace http://baivong.github.io/ // @version 1.0.0 // @description 1-Click download on 10wallpaper. You should select the resolution before downloading. // @icon http://i.imgur.com/08zfJez.png // @author Zzbaivong // @license MIT // @match http://10wallpaper.com/* // @noframes // @supportURL https://github.com/baivong/Userscript/issues // @run-at document-idle // @grant none // ==/UserScript== (function () { 'use strict'; // Resolution config: var resolution = ''; // Eg: 1920x1200, 1366x768, 1280x1024, ... // Do not change the code below this line, unless you know how. var list = document.querySelectorAll('a[href^="/view/"], a[href^="/list/"]'); if(!/\d+x\d+/.test(resolution)) resolution = screen.width + 'x' + screen.height; [].forEach.call(list, function (item) { var img = item.querySelector('img'); if (!img) return; item.setAttribute('href', img.src.replace(/(\/|_)(small|medium)(\/|\.)/g, '$1' + resolution + '$3')); item.setAttribute('download', ''); }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址