Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Brave ad blocker affecting legitimate images #4442

Closed
parkumcp opened this issue Oct 2, 2016 · 21 comments
Closed

Brave ad blocker affecting legitimate images #4442

parkumcp opened this issue Oct 2, 2016 · 21 comments

Comments

@parkumcp
Copy link

parkumcp commented Oct 2, 2016

Did you search for similar issues before submitting this one?
Yes

Describe the issue you encountered:
The ad blocker feature is blocking legitimate images on websites like cnet.com and costco.com

Expected behavior:
Legit, non-ad related images should be visible

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 10
  • Brave Version:
    v0.12.1
  • Steps to reproduce:
    1. Select "Block Ads" within Ad Control preferences and visit cnet.com or costco.com to see legit images being blocked in Brave.
    2. Or select "Allow Ads and Tracking" to allow images to be visible.
  • Screenshot if needed:
    Not needed
  • Any related issues:
    None
@stshank
Copy link

stshank commented Oct 18, 2016

I have this issue a lot on CNET. Often the top image loads, but subsequent images in a story show only alt text. Screenshot attached of one example.
screenshot 2016-10-18 11 46 11

@privatzee
Copy link
Contributor

An example of an image URL blocked at Costco by Ad Control/Block Ads is:
http://richmedia.channeladvisor.com/ImageDelivery/imageService?profileId=12026540&imageId=1103544-847__1&recipeName=350

For this purpose, ChannelAdvisor is the equivalent of a CDN.

@privatzee
Copy link
Contributor

One approach would be to have an intermediate blocking level, wherein a user allows a known list (provided by Brave) of CDNs and CDN-like sites. The CDN sites are still spying, of course, but they are not exclusively spying. The whitelist probably won't be very large, because it'll be made up mostly of a few large companies.

This is like IE's security slider, which I never liked, but the approach fits better here.

Otherwise, having a user individually select what sites to block likely leads to the decision fatigue spoken of elsewhere by @BrendanEich. (Though he was talking there about payments, it's still the same thing). After all, anybody can already use any browser and install adblockers and script blockers and https rewriters and cookie blockers - but only a few hardy souls will actually do all of that. For Brave to thrive, you need to provide one-click solutions for the masses. After that, it would of course be good to have more complexity available for the aficionados who want it (and will not recommend Brave to others without it). The complexity should be unobtrusive, so as not to clutter the UI and drive away the masses.

@bbondy
Copy link
Member

bbondy commented Oct 26, 2016

Fixed by:
brave-experiments/ad-block@78f6111

brave/tracking-protection@904dd09

This isn't ideal but for now it's better for webcompat.

We were able to get the images unbroken but not the video by doing this w/ no filtering rule changes within cnet.com for future reference:

$('img[data-original]').each(function (img) {
  $(this).attr('src', $(this).data('original'))
})

@srirambv
Copy link
Collaborator

Not working reopening the issue.

Related issues: #5151

@srirambv srirambv reopened this Oct 26, 2016
@privatzee
Copy link
Contributor

similar: Facebook CDN for images #5153

@bridiver
Copy link
Collaborator

@privatzee I'm seeing the FB problem in Brave ios, but seems to work on desktop. You're seeing it on Desktop as well?

@privatzee
Copy link
Contributor

@bridiver yep, eg. at https://developers.facebook.com/?ref=pf
Win7 x64
Brave 0.12.6

But I don't have a FB acct, so I don't know about users' pages.

@bridiver
Copy link
Collaborator

I believe @bbondy has pushed updates to fix both issue

@bridiver
Copy link
Collaborator

but I want to revisit the cnet issue because this could be a start of a new trend to bypass ad blockers. Mixing ad/tracking content with legitimate content will require more sophisticated blocking techniques

@privatzee
Copy link
Contributor

Mixing ad/tracking content with legitimate content will require more sophisticated blocking techniques

@bridiver How about allowing only images and videos from certain origins, but blocking scripts from that origin?

Btw, the problem still exists for me, please see #5153 again, bottom comment.

Mixing ad/tracking content with legitimate content...

Made me think of google's helpful and free fonts to grab users' IPs :)

@bridiver
Copy link
Collaborator

it's not quite that simple unfortunately. We found an easy workaround for the images, but the videos won't play unless you load one of the scripts. We can still block the other scripts that are loaded from the first script and we still block 3rd-party cookies, but they will likely become more sophisticated and start delivering site and ad/tracking content mixed together

@bridiver
Copy link
Collaborator

@privatzee I think the tracking list only updates on browser restart and it runs in the background so you may not see it right away. @bbondy can confirm or provide better info

@privatzee
Copy link
Contributor

@bridiver Okay, thanks for the insight, Bryan.

I had just restarted, but the problem remains the same.

@bridiver
Copy link
Collaborator

I never saw the problem on browser-laptop, but it's working for me now on ios

@bbondy
Copy link
Member

bbondy commented Oct 26, 2016

List updates happen once per day at most, and it'll apply to even old versions. So I think you just have to test this again @srirambv maybe by tomorrow.

@bbondy bbondy closed this as completed Oct 26, 2016
@privatzee
Copy link
Contributor

FWIW: still

@luixxiul
Copy link
Contributor

It seems that it works fine on https://www.facebook.com. Images are no longer blocked.

@bbondy still I'm a little bit worried, because this time no ads/trackers are blocked. Is it fine?

@bbondy
Copy link
Member

bbondy commented Oct 28, 2016

I think they are served 1p rom there, was it the case we used to have some blocked there?

@jmmartinez300
Copy link

I like Brave. I also would like to block all images, but cannot find the way to do it... Thanks. JMM

@cndouglas
Copy link

@jmmartinez300 That feature is being tracked in issue #4065.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants