Skip to content

Instantly share code, notes, and snippets.

/// twitch-videoad.js
const origFetch = window.fetch;
window.fetch = (url, init, ...args) => {
if (typeof url === "string") {
if (url.includes("/access_token")) {
url = url.replace("player_type=site", "player_type=thunderdome");
} else if (
url.includes("/gql") &&
init &&
typeof init.body === "string" &&