brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
16.76k stars 2.16k forks source link

Ads are shown after launching app but before window refresh #37962

Closed Uni-verse closed 2 weeks ago

Uni-verse commented 2 weeks ago

Description:

Ads are shown after launching app. This is a regression on 1.66.x

Possibly an issue with the preloaded ad-blocking script not working

Steps to Reproduce

  1. New install 1.66.x
  2. Immediately navigate to youtube.com and other media sites
  3. Play videos with ads for 30-40 secs until there is a black screen at the beginning of the videos
  4. Look for ads / cookie notices in other tabs
  5. Refresh the page using the reload button
  6. Do the same for the youtube tab

Actual result:

Ads are shown until ad-block engines are compiled and user refreshes page

https://github.com/brave/brave-browser/assets/17885425/bcc0d00c-a4d8-407e-856c-e51bd9056737

Expected result:

Ads should not be shown

Reproduces how often: [Easily reproduced, Intermittent Issue]

Always

Brave Version:

1.66.90 1.64.x (intermittent)

Device details:

iPhone 12

Website problems only:

Additional Information

kjozwiak commented 1 week ago

The above requires 1.66.102 or higher for 1.66.x verification 👍

Uni-verse commented 1 day ago

Verified on iPhone 12 running iOS 17.3.1using version 1.66.110

Example Example Example Example
IMG_6196 IMG_6197 IMG_6198 IMG_6199
Uni-verse commented 1 day ago

Verified on iPad (7th Gen) running iPadOS 17.4.1 using version 1.66.110

Example Example Example Example
IMG_1380 IMG_1381 IMG_1382 IMG_1383