您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Build for Udemy Google Translator bug, Open the Google Translate and Transcript to use.
当前为
// ==UserScript== // @name Udemy Subtitle 翻譯 // @namespace http://tampermonkey.net/ // @version 1.0 // @description Build for Udemy Google Translator bug, Open the Google Translate and Transcript to use. // @author You // @match *://www.udemy.com/course/* // @grant none // ==/UserScript== (function() { 'use strict'; if (typeof window.i !== 'undefined') { clearInterval(window.i) } else { let lastText = '' function check() { let toEl = $('.well--container--2edq4 span'); let fromEl = $('p[data-purpose="transcript-cue-active"] span') let currentText = fromEl.html() if (lastText !== currentText) { toEl.html(currentText); } lastText = fromEl.html() } window.i = setInterval(check, 200); } // Your code here... })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址