Disable the proxy used by vaft and update list
Also disabled stream "correction" (pause/play) on background tabs
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name TwitchAdSolutions (vaft)
|
||||
// @namespace https://github.com/pixeltris/TwitchAdSolutions
|
||||
// @version 5.5.0
|
||||
// @version 5.5.1
|
||||
// @description Multiple solutions for blocking Twitch ads (vaft)
|
||||
// @updateURL https://github.com/pixeltris/TwitchAdSolutions/raw/master/vaft/vaft.user.js
|
||||
// @downloadURL https://github.com/pixeltris/TwitchAdSolutions/raw/master/vaft/vaft.user.js
|
||||
@@ -37,7 +37,7 @@
|
||||
//This corrects the background tab buffer bug when switching to the background tab for the first time after an extended period.
|
||||
doTwitchPlayerTask(false, false, true, false, false);
|
||||
};
|
||||
document.addEventListener('visibilitychange', process, true);
|
||||
document.addEventListener('visibilitychange', block, true);
|
||||
document.addEventListener('webkitvisibilitychange', block, true);
|
||||
document.addEventListener('mozvisibilitychange', block, true);
|
||||
document.addEventListener('hasFocus', block, true);
|
||||
@@ -82,7 +82,7 @@
|
||||
scope.StreamInfosByUrl = [];
|
||||
scope.MainUrlByUrl = [];
|
||||
scope.EncodingCacheTimeout = 60000;
|
||||
scope.DefaultProxyType = 'TTV LOL';
|
||||
scope.DefaultProxyType = null;
|
||||
scope.DefaultForcedQuality = null;
|
||||
scope.DefaultProxyQuality = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user