您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hololive Voice All Download!!
// ==UserScript== // @name Voice All Download!! // @namespace https://amania.jp // @version 2024-07-25 // @description Hololive Voice All Download!! // @author amania // @match https://shop.hololivepro.com/apps/downloads/customers/* // @icon https://www.google.com/s2/favicons?sz=64&domain=hololivepro.com // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; function addDownloadButton() { let featureContent = document.querySelector('.feature-content'); if (featureContent) { let button = document.createElement('button'); button.className = 'feature-play'; button.style.width = '190px'; button.innerHTML = '<span>まとめてダウンロード</span>'; button.onclick = function() { all_download(); }; featureContent.appendChild(button); } } function all_download() { let actionIcons = document.getElementsByClassName('action-icon'); for (let icon of actionIcons) { icon.click(); } setTimeout(() => { let anchors = document.getElementsByTagName('a'); for (let anchor of anchors) { let text = anchor.textContent || anchor.innerText; if (text.includes('WAV')) { let href = anchor.getAttribute('href'); if (href) { window.open(href, '_blank'); } } } }, 500); } window.onload = addDownloadButton; })();