This commit is contained in:
AdamWr
2020-10-01 09:59:21 +02:00
parent bdda2a5a4f
commit 89aeecaeb1
3 changed files with 6 additions and 3 deletions

View File

@@ -8,6 +8,10 @@
youtube.com,youtube-nocookie.com#%#//scriptlet('set-constant', 'ytInitialPlayerResponse.adPlacements', 'undefined')
youtube.com,youtube-nocookie.com#%#//scriptlet('set-constant', 'playerResponse.adPlacements', 'undefined')
!
! Test for twitch
! https://github.com/AdguardTeam/AdguardFilters/issues/64754
twitch.tv#%#(function(){if("function"==typeof fetch){var e=window.fetch;window.fetch=function(d,g){if(2<=arguments.length&&"string"===typeof d&&d.includes("/access_token")){var c=new URL(arguments[0]),a=[];c.searchParams.forEach(function(h,f){a.push(f)});for(var b=0;b<a.length;b++)"oauth_token"!=a[b]&&"need_https"!=a[b]&&c.searchParams["delete"](a[b]);arguments[0]=c.href}return e.apply(this,arguments)}}})();
!
! https://github.com/AdguardTeam/AdguardFilters/issues/64776
leagueoflegends.com#%#//scriptlet('remove-class', 'async-hide', 'html')
! https://github.com/AdguardTeam/AdguardFilters/issues/63911

View File

@@ -1852,9 +1852,10 @@ xxxdan.com#%#AG_abortInlineScript(/nasl/, 'document.cookie');
! https://github.com/AdguardTeam/AdguardFilters/issues/23560
za.gl#%#window.open = function() {};
za.gl#%#AG_abortInlineScript(/popup/, 'redirect');
! https://github.com/AdguardTeam/AdguardFilters/issues/64754
! https://github.com/AdguardTeam/AdguardFilters/issues/29035
! https://github.com/AdguardTeam/AdguardFilters/issues/21439
twitch.tv#%#(function(){if("function"==typeof fetch){var a=window.fetch;window.fetch=function(b){if(2<=arguments.length&&"string"==typeof b&&b.includes("/access_token")){var d=new URL(arguments[0]);d.searchParams.delete("player_type"),d.searchParams.set("platform", "_"),arguments[0]=d.href}return a.apply(this,arguments)}}})();
! twitch.tv#%#(function(){if("function"==typeof fetch){var a=window.fetch;window.fetch=function(b){if(2<=arguments.length&&"string"==typeof b&&b.includes("/access_token")){var d=new URL(arguments[0]);d.searchParams.delete("player_type"),d.searchParams.set("platform", "_"),arguments[0]=d.href}return a.apply(this,arguments)}}})();
! katcr.co - ad
katcr.co#%#AG_onLoad(function() { AG_removeElementBySelector('.alert--danger'); });
! https://github.com/AdguardTeam/AdguardFilters/issues/23110

View File

@@ -6,7 +6,5 @@
!
! https://github.com/AdguardTeam/AdguardFilters/issues/64754
||video-weaver.*.hls.ttvnw.net/v*/playlist/*.m3u8$replace=/#EXT-X-DATERANGE:ID="stitched-ad[\s\S]*(#EXT-X-PROGRAM-DATE-TIME)(?![\s\S]*?#EXTINF:\d\.\d+\,live)[\s\S]*|(#EXT-X-DATERANGE:ID="stitched-ad[\s\S]*?(#EXT-X-PROGRAM-DATE-TIME)([\s\S]*?(#EXTINF:\d\.\d+\,live)))/\$5/
twitch.tv#%#(function(){if("function"==typeof fetch){var e=window.fetch;window.fetch=function(d,g){if(2<=arguments.length&&"string"===typeof d&&d.includes("/access_token")){var c=new URL(arguments[0]),a=[];c.searchParams.forEach(function(h,f){a.push(f)});for(var b=0;b<a.length;b++)"oauth_token"!=a[b]&&c.searchParams.delete(a[b]);arguments[0]=c.href}return e.apply(this,arguments)}}})();
twitch.tv#@%#(function(){if("function"==typeof fetch){var a=window.fetch;window.fetch=function(b){if(2<=arguments.length&&"string"==typeof b&&b.includes("/access_token")){var d=new URL(arguments[0]);d.searchParams.delete("player_type"),d.searchParams.set("platform", "_"),arguments[0]=d.href}return a.apply(this,arguments)}}})();
! https://github.com/AdguardTeam/AdguardFilters/issues/63128
tumblr.com###base-container div[style="height:0;display:flex;flex-direction:column;overflow:hidden"] + div:not([class]):not([id]) > div[class]:not([data-id]):not([class*=" "])