Uassets: Bing.com

Created on 1 Jun 2019  路  25Comments  路  Source: uBlockOrigin/uAssets

URL(s) where the issue occurs

https://www.bing.com/search?q=nrk

(In the event that the ads are too regionalised to be triggered when searching for a Norwegian media group, there's many other example URLs in https://github.com/uBlockOrigin/uAssets/issues/5724#issuecomment-497969628 that can be tried out.)

Describe the issue

Ad listings on the top and bottom of Bing results for most (but not all) search terms, which are currently not blocked by any notable adblock list that I'm aware of.

Screenshot(s)

image

Versions

  • Browser/version: Vivaldi 2.5.1525.46 64-bit for Windows
  • uBlock Origin version: 1.19.6

Settings

During testing, the only lists I had turned on were EasyList and the main uBlock Filters list.

Notes

My personally recommended fix: bing.com###b_results > li:has(.b_aslcpy)

I was made aware of this in https://github.com/DandelionSprout/adfilt/issues/36, and I was quickly able to confirm the presence of the reported problem. As Bing is an international multi-language website, I'm reporting this to you guys, first and foremost (as well as to EasyList).

Most helpful comment

...aaaaaaaaah. Well spotted. My fault (sort of). 馃槄

If so, then I suppose it'd be preferential to find a language-neutral solution, and Fanboy's solution seems to me personally to work as intended for that.

All 25 comments

I can't reproduce with default setup on Chrome or FF.

I for one am consistently able to reproduce it in Chrome, FF, and Vivaldi, be it with or without being logged in.

Presuming that there's regional variations in search results between countries, here's some other search terms where I've been able to trigger ads, in case it makes it easier for people from other countries to replicate the ads:

  • https://www.bing.com/search?q=nintendo+switch
  • https://www.bing.com/search?q=wheat
  • https://www.bing.com/search?q=sony
  • https://www.bing.com/search?q=fortnite
  • https://www.bing.com/search?q=lalaloopsy
  • https://www.bing.com/search?q=nella+the+princess+knight

Closing this issue report for now, as EasyList will be adding an entry for these ads to their list the next time they sync their sublists, which shouldn't be long to wait for at all: https://github.com/easylist/easylist/pull/3559

Re-opening, after I realised that smed79's pull request hadn't been merged yet, and that it could very well take days before the fix is actually added to EasyList.

@ryanbr @khrin fyi.

I still can't reproduce even with UBO off. Probably based on region or something i'm not getting anything on US.

reproducible in firefox (and not in chrome for me)

Does this help / cause any issues?

bing.com###b_results > li > ul > li > div > .b_caption

For the purposes of EasyList, bing.com###b_results > li > ul > li > div > .b_caption does technically remove the ad results, but leaves some text remnants from ad subresults behind (if the page originally had any ad subresults):
image

For certainty's sake, I've also tested all this after turning off AdGuard for Windows Beta entirely (after I discovered that it had a completely new and confusing browser coverage setting that may or may not have been targeting my main browsers), and by removing NoCoin entries from my OS' hosts file.

bing.com###b_results > li > ul > li > div > .b_caption
bing.com###b_results > li > ul > li > div > .b_vlist2col

Seems to work pretty well for me. In fact it seems to work more consistently than mapx-'s fix as well.

I hereby vote in favour of those two entries being added to EasyList.

it seems to work more consistently than mapx-'s fix

what do you mean ?

At the current point in time, I can't seem to get your Xpath entry to be noticed by my highly-tampered-with Chrome setup, only by my minimalistic Vivaldi and Firefox test setups.

yeah, still just a story. Provide real details.

I am unsure what the criteria is for 'real details', but I'll try.

So far I can tell that the recognition problem also extends to the element picker.

Vivaldi (works):
image

Chrome (while temporarily reverted to Nano stock settings and with several extensions like I don't care about cookies, Nano Defender, and Tampermonkey turned off):
image

sure, you have to replace Ad with Annonse

...aaaaaaaaah. Well spotted. My fault (sort of). 馃槄

If so, then I suppose it'd be preferential to find a language-neutral solution, and Fanboy's solution seems to me personally to work as intended for that.

yeah, but I'm sure bing will evolve to some yandex or FB approach.

i prefer a more generic approach imo, covers both extensions

@DandelionSprout could you test this filter
bing.com##[onclick^="ad_choice"]:nth-ancestor(2)

@mapx- It technically works, but leaves ad subresults remaining in much the same way as https://github.com/uBlockOrigin/uAssets/issues/5724#issuecomment-498015173 originally did.

bing.com##[onclick^="ad_choice"]:nth-ancestor(3) (replacing the '2' with a '3') seems to remove the ad results entirely.

Compare
image

with
image

I have the same issue in Edge (Chromium) but not in Firefox.

I get such ads on Firefox. Basically it's an additional li with random classname that sits above li.b_ad (which is blocked by Easylist). The one in the bottom has also b_adBottom class. I suppose it could be a regional thing although my Bing's language is set to English.

Anyway I'm using these:

www.bing.com###b_results > li:first-child:not(.b_algo)
www.bing.com###b_results > li.b_adBottom
Was this page helpful?
0 / 5 - 0 ratings

Related issues

efih picture efih  路  4Comments

Htin picture Htin  路  4Comments

Jose1971AB picture Jose1971AB  路  3Comments

patrickdrd picture patrickdrd  路  4Comments

ip012 picture ip012  路  3Comments