Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is an ad on https://www.reuters.com/ #14483

Closed
SergeyZhukovsky opened this issue Mar 5, 2021 · 5 comments · Fixed by brave/brave-core#8134
Closed

There is an ad on https://www.reuters.com/ #14483

SergeyZhukovsky opened this issue Mar 5, 2021 · 5 comments · Fixed by brave/brave-core#8134

Comments

@SergeyZhukovsky
Copy link
Member

SergeyZhukovsky commented Mar 5, 2021

Description

There is an ad on top when you visit https://www.reuters.com/ . It started to appear in 1.21.x.

Steps to Reproduce

  1. Visit https://www.reuters.com/

Actual result:

Observe an ad on top
Screenshot from 2021-03-04 22-56-15

Expected result:

There is no ad
Screenshot from 2021-03-04 23-02-55

Reproduces how often:

Always

Brave version (brave://version info)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes, starting from 1.21.x
  • Can you reproduce this issue with the beta channel?
  • Can you reproduce this issue with the nightly channel?

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Miscellaneous Information:

@kjozwiak
Copy link
Member

kjozwiak commented Mar 5, 2021

@SergeyZhukovsky we're going to include this one in 1.21.x - Release #2 which will also have the revert for #14471. Should we add the OS/Android label? Assuming this also affected Android? Even with #14471 reverted, we can still take a look at the above case and at least make sure that it was fixed with the revert.

@kjozwiak
Copy link
Member

kjozwiak commented Mar 5, 2021

@brave/legacy_qa spoke with @SergeyZhukovsky. We'll need to do the following for this issue:

  • verify that the above doesn't occur anymore once we revert the cosmetic filtering changes from desktop via Brave shields are not working properly #14471
  • check and ensure that the above case doesn't happen on Android when viewing pages in Desktop mode rather than mobile.

@kjozwiak kjozwiak added OS/Android Fixes related to Android browser functionality release-notes/include and removed release-notes/exclude labels Mar 5, 2021
@kjozwiak
Copy link
Member

kjozwiak commented Mar 6, 2021

Verification PASSED on Samsung Galaxy Tablet A running Android 10 using the following build:

1.21.74 CR: 89.0.4389.72
1.21.73 CR: 89.0.4389.72 1.21.74 CR: 89.0.4389.72
Screenshot_20210306-173938_Brave Screenshot_20210306-174342_Brave

Verification PASSED on Samsung S10+ running Android 11 using the following build:

1.21.74 CR: 89.0.4389.72
1.21.73 CR: 89.0.4389.72 1.21.74 CR: 89.0.4389.72
Screenshot_20210306-180715_Brave Screenshot_20210306-180620_Brave

Verified passed with

Brave	1.21.74 Chromium: 89.0.4389.72 (Official Build) (64-bit)
Revision	3f345f156bfd157bd1bea06310e55f3fb2490359-refs/branch-heads/4389@{#1393}
OS	Linux
1.21.73 CR: 89.0.4389.72 1.21.74 CR: 89.0.4389.72
1 21 73 14483 1 21 74

Verified PASSED using

Brave 1.21.74 Chromium: 89.0.4389.72 (Official Build) (x86_64)
Revision 3f345f156bfd157bd1bea06310e55f3fb2490359-refs/branch-heads/4389@{#1393}
OS macOS Version 11.2.2 (Build 20D80)

No ad seen on reuters.com.

Screen Shot 2021-03-06 at 4 47 26 PM


Verification PASSED on Win 10 x64 using the following build:

Brave | 1.21.74 Chromium: 89.0.4389.72 (Official Build) (64-bit)
-- | --
Revision | 3f345f156bfd157bd1bea06310e55f3fb2490359-refs/branch-heads/4389@{#1393}
OS | Windows 10 OS Version 2009 (Build 19042.844)
1.21.73 CR: 89.0.4389.72 1.21.74 CR: 89.0.4389.72
image image

@kjozwiak
Copy link
Member

kjozwiak commented Mar 7, 2021

Looks the issue still happens after you refresh the page multiple times. Quickly talked to @SergeyZhukovsky and this appears t be the same issue that the Skip Ads issue TY is experiencing. Seems like some type of race condition where the script either loads to early or to late and the ad gets through. Exampe:

  • 1.21.74 CR: 89.0.4389.72 - Reproduced
  • 1.21.73 CR: 89.0.4389.72 - Reproduced
  • 1.20.108 CR: 88.0.4324.182 - Reproduced

image

I'll file an issue re: the cosmetic filtering race conditions that Brave seems to experience. However, 1.21.74 CR: 89.0.4389.72 is a lot better as it was basically 100% reproducible via 1.21.73 CR: 89.0.4389.72 due to a parsing regression.

@ryanbr
Copy link

ryanbr commented Mar 7, 2021

I got a whitespace issue in Beta/Nightly @SergeyZhukovsky (unfortantly my Brave nightly was having issues with extensions, so just tested in Chrome). From my screenshot below ##+js(acis,..) was called/inited a few times (6) on the home page. Is our code doing the same?

reuters-ads-issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment