您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Simple batch downloader for Udemy Course Resources
// ==UserScript== // @name Udemy batch downloader // @version 1 // @description Simple batch downloader for Udemy Course Resources // @author GZT028 // @match https://*.udemy.com/course/* // @icon https://cdn-icons-png.flaticon.com/512/4241/4241580.png // @grant none // @license MIT // @namespace https://greasyfork.org/users/1279191 // ==/UserScript== window.addEventListener("keydown", checkKeyPressed, false); function Start (){ Array.from(document.getElementsByClassName("ud-btn ud-btn-large ud-btn-link ud-heading-md ud-accordion-panel-toggler accordion-panel-module--panel-toggler--WUiNu accordion-panel-module--outer-panel-toggler--Pxwxc")).forEach((y)=>{ y.click()}) var names = Array.from(document.getElementsByClassName("resource--ellipsis--5f0S7")) names.forEach((x, i) => { setTimeout(() => { x.click(); }, i * 3000); }); } function checkKeyPressed(evt) { if (evt.keyCode == "106" ) { Start (); } }