// ==UserScript== // @name TwitchNoSub // @namespace https://github.com/besuper/TwitchNoSub // @version 1.0.0 // @description Watch sub only VODs on Twitch // @author besuper // @match *://*.twitch.tv/videos/* // @updateURL https://raw.githubusercontent.com/besuper/TwitchNoSub/master/userscript/twitchnosub.user.js // @downloadURL https://raw.githubusercontent.com/besuper/TwitchNoSub/master/userscript/twitchnosub.user.js // @icon https://raw.githubusercontent.com/besuper/TwitchNoSub/master/assets/icons/icon.png // @run-at document-start // @inject-into page // @grant none // ==/UserScript== (function () { 'use strict'; const oldWorker = window.Worker; window.Worker = class Worker extends oldWorker { constructor() { super(URL.createObjectURL(new Blob(["importScripts('https://cdn.jsdelivr.net/gh/besuper/TwitchNoSub/src/patch_amazonworker.js', 'https://cdn.jsdelivr.net/npm/amazon-ivs-player/dist/assets/amazon-ivs-worker.min.js');"]))); } } })();