Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension as a userscript #16

Open
pabli24 opened this issue Mar 20, 2019 · 1 comment
Open

Extension as a userscript #16

pabli24 opened this issue Mar 20, 2019 · 1 comment

Comments

@pabli24
Copy link

pabli24 commented Mar 20, 2019

I think userscript will be a better than manually installing this as extension.

@toofar
Copy link
Contributor

toofar commented Mar 28, 2019

Here you go:

// ==UserScript==
// @name        Twitch-HLS-AdBlock
// @namespace   github.com/instance01
// @description Block advertisements that are inserted in Twitch streams directly.
// @match       *://*.twitch.tv/*
// @run-at      document-start
// @author      instance01
// @version     1.0.0
// @grant       unsafeWindow
// @license     MIT License
// @require     https://raw.githubusercontent.com/instance01/Twitch-HLS-AdBlock/master/extension/lib.js
// @require     https://raw.githubusercontent.com/instance01/Twitch-HLS-AdBlock/master/extension/injected.js
// ==/UserScript==
unsafeWindow.Worker = window.Worker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants