Skip to content

Instantly share code, notes, and snippets.

@crypt0summer
crypt0summer / 1_addLanguages.js
Last active May 23, 2022 15:50
Automate Youtube translation
//put this script in f12 -> sources
//Language list
let langList = ["gl", "gn", "yue"];
const clickAddLanguageButton = async () => {
let addLanguageButton = document.getElementById("add-translations-button");
if (addLanguageButton) {
addLanguageButton.click();
}