mirror of
https://github.com/pixeltris/TwitchAdSolutions.git
synced 2024-11-22 10:22:51 +01:00
Fix ublock origin scripts failing to load #131
This commit is contained in:
parent
5afc792ce7
commit
bc355dda0a
@ -1,5 +1,5 @@
|
|||||||
// This code is directly copied from https://github.com/cleanlock/VideoAdBlockForTwitch (only change is whitespace is removed for the ublock origin script - also indented)
|
// This code is directly copied from https://github.com/cleanlock/VideoAdBlockForTwitch (only change is whitespace is removed for the ublock origin script - also indented)
|
||||||
twitch-videoad.js application/javascript
|
twitch-videoad.js text/javascript
|
||||||
(function() {
|
(function() {
|
||||||
if ( /(^|\.)twitch\.tv$/.test(document.location.hostname) === false ) { return; }
|
if ( /(^|\.)twitch\.tv$/.test(document.location.hostname) === false ) { return; }
|
||||||
//This stops Twitch from pausing the player when in another tab and an ad shows.
|
//This stops Twitch from pausing the player when in another tab and an ad shows.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
twitch-videoad.js application/javascript
|
twitch-videoad.js text/javascript
|
||||||
(function() {
|
(function() {
|
||||||
if ( /(^|\.)twitch\.tv$/.test(document.location.hostname) === false ) { return; }
|
if ( /(^|\.)twitch\.tv$/.test(document.location.hostname) === false ) { return; }
|
||||||
function declareOptions(scope) {
|
function declareOptions(scope) {
|
||||||
|
Loading…
Reference in New Issue
Block a user