Skip to content

Commit

Permalink
fix(YouTube - Hide ads): Do not leave screen at launch non interactab…
Browse files Browse the repository at this point in the history
…le when hiding fullscreen ads
  • Loading branch information
oSumAtrIX committed Jan 5, 2024
1 parent 28847d8 commit fbdb490
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -132,8 +132,9 @@ public boolean isFiltered(@Nullable String identifier, String path, byte[] proto
if (exceptions.matches(path))
return false;

if (matchedGroup == fullscreenAd && path.contains("|ImageType|")) {
closeFullscreenAd();
if (matchedGroup == fullscreenAd) {
if (path.contains("|ImageType|")) closeFullscreenAd();

return false; // Do not actually filter the fullscreen ad otherwise it will leave a dimmed screen.
}

Expand Down

0 comments on commit fbdb490

Please sign in to comment.