Uassets: [Ads] quora.com

Created on 29 May 2018  路  20Comments  路  Source: uBlockOrigin/uAssets

URL(s) where the issue occurs

https://www.quora.com/Why-are-inline-functions-only-a-request-to-the-compiler-Why-does-the-compiler-make-the-decision-on-which-inline-functions-to-actually-inline-Why-wouldnt-the-compiler-just-do-what-the-programmer-asks-it-to-do

Describe the issue

Quora now has inline ads with random ID and class.

Screenshot(s)

image
image

Versions

  • Browser/version: Chrome 68
  • uBlock Origin version: 1.16.8

Settings

All default.

All 20 comments

I cannot reproduce the ads.

EDIT: quora.com##div[id$="content_wrapper"] seems to work for all ads - desktop and mobile. It may be a bit generic, but it seems it's only in use where there are ads. Otherwise this will work too.

quora.com##.PromptsList:has(a[href*="utm_campaign"])
quora.com##.pagedlist_item:has(a[href*="utm_campaign"])

Mobile
quora.com##.pagedlist_item:has(.advertiser_endpoint)

Not working anymore.

https://github.com/NanoAdblocker/NanoFilters/issues/90#issuecomment-394907715

Ads appear to be back again, I can't reproduce.

https://www.quora.com/What-is-the-memory-capacity-of-the-human-brain-in-terabytes

image

I'm surprised at how tenacious Quora is at bypassing adblockers...

Add

quora.com##[rel="nofollow noopener"]
quora.com##div:has-text(/^ad by/)

That works, thanks.

Changed again, add --

quora.com##[rel*="noopener"]
quora.com##[rel*="nofollow"]
quora.com##div:has-text(/^ad/)

quora.com##[rel*="noopener"] is way too broad鈥攊t hides all external links in legitimate answers.

Thanks for reporting.
Example link: https://www.quora.com/How-difficult-is-it-to-learn-Python

quora.com##[rel*="noopener"] quora.com##[rel*="nofollow"]
are hiding the links, so I will remove them.

need more long lasting solution , all contributors

i see
promoted by .............................. ads

this is very annoying
what you say @jspenguin2017

Eh, the only way to make it long lasting is keeping solutions private. If it's public they can always work around them.

adguard does benefit......

quora.com##[disable_auto_login*="True"] works without seemingly breaking any links or anything else.

quora.com##[href*="campaign"][rel="noopener"] 's a bit more specific and doesn't break anything.

I see ads again.

quora.com##[id*=wrapper]:has-text(/ad\s{1,}by /i) in uBlock Filters hides the entire page on mobile. Perhaps it should be added inside !#if !env_mobile instead.

quora.com##.top_slot and quora.com##.lower_slot seems to work on mobile. (And the last one on desktop too.)

Other possible filter that can be added for desktop: quora.com##:xpath(//div[contains(text(), 'ad') and contains(text(), 'by')]/parent::div/parent::div/parent::div[@id])

Test link: https://www.quora.com/What-mount-point-should-be-assigned-for-the-installation-drive-C-and-the-extended-drive-D-in-Ubuntu

Confirm I see ads. @krystian3w's solution leaves the Ad by xxx text but blocks the ad content.

Gah, this completely broke my feed! Now every time I click to open an answer that has the last few lines shown, the entire answer instantly disappears! This is because, at least on my account (Quora is notorious for A/B testing), Quora adds the ad _directly onto the end of the post after expanding_, so this rule kills the whole post! It started happening this weekend, and seeing as the commit was 6 days ago, that perfectly explains it. Please revert this commit pending further testing.

Update filters, it was removed earlier today.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sebastianbell picture sebastianbell  路  3Comments

terrorist96 picture terrorist96  路  3Comments

ip012 picture ip012  路  3Comments

wis picture wis  路  4Comments

ghost picture ghost  路  3Comments