From e11445d2c3571711cce8dd3f96b877209cbbcfd3 Mon Sep 17 00:00:00 2001 From: fanboynz Date: Tue, 22 Aug 2023 09:35:51 +0200 Subject: [PATCH 1/2] Fixes youtube.com playback delay --- brave-unbreak.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/brave-unbreak.txt b/brave-unbreak.txt index 9fc8d2fe..fe208911 100644 --- a/brave-unbreak.txt +++ b/brave-unbreak.txt @@ -73,6 +73,17 @@ youtube.com##ytd-rich-item-renderer:has(ytd-display-ad-renderer) 9gag.com##article:has(.promoted) ! Fix youtube (quick fix) youtube.com,youtubekids.com,youtube-nocookie.com#@#+js(set, ytInitialPlayerResponse.auxiliaryUi.messageRenderers.bkaEnforcementMessageViewModel, undefined) +! https://github.com/uBlockOrigin/uAssets/blob/master/filters/filters.txt#L38 +! Counter exceptions in uBO +youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, playabilityStatus.liveStreamability) +youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, playerResponse.playabilityStatus.liveStreamability) +youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, streamingData.adaptiveFormats.6) +youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, playerResponse.streamingData.adaptiveFormats.6) +youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, captions) +youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, playerResponse.captions) +youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, responseContext.serviceTrackingParams.2) +youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, playerResponse.responseContext.serviceTrackingParams.2) + ! Fix browser lockup on skepticalscience.com (https://github.com/brave/brave-browser/issues/5406) ||skepticalscience.net/widgets/heat_widget/js/heat_content.js$script,domain=skepticalscience.com ! adops.com unusable without this From 4ed47a45b695490923a387674cd5b896a8f9d1be Mon Sep 17 00:00:00 2001 From: fanboynz Date: Tue, 22 Aug 2023 09:38:36 +0200 Subject: [PATCH 2/2] Remove empty line --- brave-unbreak.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/brave-unbreak.txt b/brave-unbreak.txt index fe208911..7f2eb99d 100644 --- a/brave-unbreak.txt +++ b/brave-unbreak.txt @@ -83,7 +83,6 @@ youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, playerResponse.captions) youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, responseContext.serviceTrackingParams.2) youtube.com,youtubekids.com,youtube-nocookie.com##+js(json-prune, playerResponse.adPlacements playerResponse.playerAds playerResponse.adSlots adPlacements playerAds adSlots important, playerResponse.responseContext.serviceTrackingParams.2) - ! Fix browser lockup on skepticalscience.com (https://github.com/brave/brave-browser/issues/5406) ||skepticalscience.net/widgets/heat_widget/js/heat_content.js$script,domain=skepticalscience.com ! adops.com unusable without this