javascript: (function () { let host = location.host; if (host.includes("youtube.com")) { const emb = document .querySelector("link[itemprop='embedUrl']") .getAttribute("href"); window.location.assign(emb); } else { window.alert("⚠️not YouTube"); } })();