您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Toolkit for YouTube with 130+ options accessible via settings panels. Key features include: tab view, playback speed control, video quality selection, export transcripts, prevent autoplay, hide Shorts, disable play-on-hover, square design, auto-theater mode, number of videos per row, display remaining time adjusted for playback speed and SponsorBlock segments, persistent progress bar with chapter markers and SponsorBlock support, modify or hide various UI elements, and much more.
This toolkit enhances YouTube by customizing the layout and adding more than 130 seamless, native-feeling features. Designed to be resource-efficient, it leverages YouTube's built-in elements and event listeners while using timeouts and mutation observers strategically to minimize overhead. Additionally, a main settings panel and three sub-panels offer an intuitive interface for customization.
YouTube Alchemy operates completely client-side with no external dependencies. The script doesn't send any data to remote servers or pull resources from third-party sources beyond the standard userscript metadata for update checks (@updateURL, @downloadURL) and icon display (@icon). It leverages browser’s built-in Intl APIs while storing all settings and preferences locally via GM storage or browser localStorage.
Important for Safari Users: This script requires the requestIdleCallback Web API. Activate it under: Settings → Advanced → enable 'Show features for web developers' → Feature Flags → search for 'requestIdleCallback' and ensure it's checked.
ℹ Note: This script is designed primarily for desktop browsers; compatibility and functionality on mobile devices may vary.
Adds buttons to the YouTube header to export a video's transcript to LLMs, with or without a prompt, or to download it as a text file.
💡 Tip
The URLs for buttons one and two, along with all button icons, are fully customizable. If a button field is left empty, that button won’t be added to the header. The settings button reverts to its default if its field is empty. To modify the labels for NotebookLM and ChatGPT, enter "Label | domain.com" into their respective URL fields—this also updates the icons' hover text.⚠️ Important
Due to the Same-Origin Policy (SOP) in web development, JavaScript cannot directly interact across different websites: i.e. while the script can copy the transcript to the clipboard from YouTube and open a link (e.g. ChatGPT or NotebookLM), the copied transcript must be pasted manually into the text field via CTRL+V (Windows/Linux) or CMD+V (macOS).ℹ Note
Status messages for the Transcript Exporter are displayed at the button's location in the YouTube header.
The transcript has to be loaded into the HTML before it can be used. This can take from a few milliseconds up to a couple of seconds—depending on the length of the video. YouTube live streams don't have transcripts. Wait until the stream has finished and YouTube's API has processed the video. If the creator hasn't included captions (subtitles), YouTube's API processes the video to generate the transcript. This can take a few minutes. If speech recognition fails due to e.g. lack of clear speech or background noise, no transcript will be available. If the transcript fails to load, the Transcript Exporter will terminate. Reload the page to retry.
Up to ten links can be added next to the YouTube logo. An empty "Link Text" field won't insert the link into the header. If the left navigation bar is hidden, a replacement icon will prepend the links, while retaining the default functionality of opening and closing the sidebar.
Offers various options to customize the layout and functionality of YouTube.
General
Features
Layout Changes
Modify or Hide UI Elements
Hide UI Elements in the Left Navigation Bar
The script works with YouTube UI set to the following languages: English, Spanish, Hindi, Portuguese, German, French, Italian, Dutch, Polish, Hebrew, Japanese, Korean, Chinese, Indonesian, Swedish, Norwegian, Danish, Finnish, Czech, Greek, Hungarian, Romanian, and Ukrainian.
Support is a work in progress. Other languages may have limited functionality.
The code in YouTubeAlchemy.js
is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for details. The README.md
and all images are Copyright © 2025 Tim Macy. All rights reserved.
Read Aloud Speedster
This script integrates intuitive playback speed controls into the chatbox interface. Clicking the speed display opens a popup menu to set a preferred default playback speed and the option to toggle the square design. Additionally, the icons under Chat's responses are color-coded, and bold text is highlighted in color.
Install It from the Official Repository
YouTube Alchemy is an independent, private project. It's not affiliated with, endorsed by, sponsored by, or in any way officially connected to YouTube, Google LLC, or Alphabet Inc. "YouTube" and the YouTube logo are trademarks of Google LLC; all other trademarks are the property of their respective owners.