Show transcript by default

Automatically show transcript by default

安装此脚本?
作者推荐脚本

您可能也喜欢YouTube Playback Speed Buttons

安装此脚本
  1. // ==UserScript==
  2. // @name Show transcript by default
  3. // @version 1.0.1
  4. // @description Automatically show transcript by default
  5. // @namespace https://youtube.com/
  6. // @match https://www.youtube.com/watch*
  7. // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
  8. // @author bowencool
  9. // @license MIT
  10. // @homepageURL https://gf.qytechs.cn/scripts/480993
  11. // @supportURL https://github.com/bowencool/Tampermonkey-Scripts/issues
  12. // @require https://cdn.jsdelivr.net/gh/bowencool/Tampermonkey-Scripts@f59cc91442dd34eb28e0d270486da5c7ac8d2d50/shared/waitForElementToExist.js
  13. // @grant none
  14. // ==/UserScript==
  15.  
  16. (async function () {
  17. "use strict";
  18. const transcript = await waitForElementToExist(
  19. '[target-id="engagement-panel-searchable-transcript"]'
  20. );
  21. transcript.setAttribute("visibility", "ENGAGEMENT_PANEL_VISIBILITY_EXPANDED");
  22. console.log("transcript should show up now...");
  23. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址