您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Restores zip file download button on Thingiverse with seamless integration
// ==UserScript== // @name Thingiverse Zip Download mod // @namespace HowBoutNo // @description Restores zip file download button on Thingiverse with seamless integration // @icon https://cdn.thingiverse.com/site/img/favicons/favicon-32x32.png // @version 0.2.0 // @license GNU General Public License v3 // @copyright 2022, Nickel // @author Nickel, HowBoutNo // @grant none // @include https://www.thingiverse.com/thing:* // ==/UserScript== var no = location.pathname.match( /[0-9]+/ ); var zip = "/thing:" + no + "/zip"; /* https://stackoverflow.com/a/61511955 */ function waitForElm(selector) { return new Promise(resolve => { if (document.querySelector(selector)) { return resolve(document.querySelector(selector)); } const observer = new MutationObserver(mutations => { if (document.querySelector(selector)) { resolve(document.querySelector(selector)); observer.disconnect(); } }); observer.observe(document.body, { childList: true, subtree: true }); }); } waitForElm('.SidebarMenu__sideMenuTop--3xCYh').then((elmen) => { var node = elmen.children[0].cloneNode(true); node.children[0].className = ""; node.children[0].href = zip; node.querySelector("span").innerText = "Download All Files" elmen.querySelector("span").innerText = "Download Individual Files" elmen.insertBefore(node, elmen.children[1]); });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址