Uassets: ndtv.com{Ads}

Created on 21 Mar 2019  路  87Comments  路  Source: uBlockOrigin/uAssets

URL(s) where the issue occurs

1.
https://khabar.ndtv.com/news/bollywood/total-dhamaal-box-office-collection-day-27-ajay-devgn-anil-kapoor-madhuri-dixit-blockbuster-record-2010671?pfrom=home-topstories

  1. try news at these
    ndtv.com
    sports.ndtv.com
    gadgets.ndtv.com
    food.ndtv.com
    swirlster.ndtv.com

Describe the issue

1.
what went wrong
currently(with default settings) block of taboola.com hides some legit news stories at bottom of page

2
how the page should be
there should be no hide of legit content provided by taboola....also there should be blockage of sponsored ads by taboola


  1. what steps you have done in order to solve problem
    also in order to unbreak news content at bottom of page if i allow taboola.com it brings back sponsored ads as well alongwith unblocking news content

Screenshot(s)

1.

how the page looks with default settings
https://user-images.githubusercontent.com/20338483/54755250-76882400-4bdd-11e9-9855-5736288dfc7f.jpg

2.
You need to allow taboola in order to see news content at bottom of page but this invites sponsored.ads as well
https://user-images.githubusercontent.com/20338483/54755360-b64f0b80-4bdd-11e9-81e0-629bfb65e672.png

Versions

  • Browser/version: firefox android 66
  • uBlock Origin version: 1.18.6

Settings

  • uBO's default settings
    pls try indian ip if you can't reproduce....

    Notes

issue you can reproduce on mobile device only i.e. firefox android

@Alex-302 adguard browser extension for firefox android also suffers from this breakage
@jspenguin2017
@okiehsch

Most helpful comment

or
ndtv.com##.composite-branding.branding:has-text(/sponsored/i):xpath(..)

(I get no such sponsored stuff, so you have to test the filters)

All 87 comments

I can't test on that setup.

Me neither.

I confirm the both issues (breakage with blocked taboola.com & "Sponsored / Promoted Links" with unblocked taboola.com):


screenshoot

ss545

Try these example fixes to hide the sponsored/promoted links:
ndtv.com##.attribution-disclosure-link-hybrid
ndtv.com##.attribution-disclosure-link-sponsored

In case anybody interested, the sponsored/promoted links are generated by this script:
http://cdn.taboola.com/libtrc/ndtv-khabar/loader.js

taboola.com hides some legit news stories at bottom of page

It seems it is blocked by our AdGuard Tracking Protection filter. Need more detailed info.

@ghajini which filter causes it?

Sorry sir IAM not pragrammer

just fill the template:)
https://github.com/AdguardTeam/AdguardFilters/issues/new

@mapx-, @okiehsch, @jspenguin2017
Indian ip and and Firefox desktop browser

https://www.ndtv.com/india-news/lok-sabha-elections-2019-rahul-gandhi-says-surgical-stike-on-poverty-day-after-rs-6-000-a-month-prom-2013020?pfrom=home-topscroll

This is reproducible on desktop browser also
Check Firefox with ublock origin enabled and disabled.......
I see hidden stories with ubo enabled.......
With ubo disabled, I see continuously loading legit stories at bottom of page

@ghajini test these filters

@@||cdn.taboola.com/libtrc/$script,domain=ndtv.com
@@||trc.taboola.com/ndtv$script,domain=ndtv.com

I see sponsored ads by taboola..''
https://www.ndtv.com/india-news/niti-aayog-official-gets-poll-body-notice-for-comments-on-congress-scheme-2013388?pfrom=home-topscroll

Page served on my side-
https://pastebin.com/2UUxQi3y

save the page (html + folder) zip them together, upload on some server, send me the upload link (you still have that email I guess)

Are you talking about right side ads, in the middle etc ?

I don't see ads on Firefox desktop browser......
Sorry ,I can't save page on Firefox android, there is no option like that on Firefox android nor any addon that can do that....
https://user-images.githubusercontent.com/20338483/55060723-f7c23980-5069-11e9-81e4-b678e8b6923a.jpg
https://user-images.githubusercontent.com/20338483/55060731-06a8ec00-506a-11e9-9345-9f272b021620.jpg
https://user-images.githubusercontent.com/20338483/55060772-26401480-506a-11e9-860b-e0d666680b86.jpg
Ads are all over page, in between articles

Sponsored links by taboola is text or an image ?

test
ndtv.com##.trc-content-sponsored

ok, did you test the filter above ?

I just tested ...
Filter is.needed
https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-477042545

everything related to ads are hidden....but filter in AdGuard Mobile Ads filter (enabled default in ubo) blocks articles from loading at (bottom of page artcles)
https://user-images.githubusercontent.com/20338483/55096522-02082600-50b2-11e9-882e-bae8bdce6cd7.jpg

Do we have any solution other than whitelisting like defusing taboola through scriptlets or any other?

mapx: https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-477042545
mapx: ok, did you test the filter above ?

Me did, they're working partially - for some links, but for some links not, just like my filters mentioned here: https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-475530307, so the both solutions are complementary:


kulfoon's solution's screenshoot

ss550


mapx's solution's screenshoot

ss549

ghajini : Do we have any solution other than whitelisting like defusing taboola through scriptlets or any other?

That was the purpose why I posted the script https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-475530307 which is responsible for creating the sponsored/promoted links, in case of anyone interested in creating an inject as an alternative way to solve the issue, if necessary of course (as whitelisting is generally the preferred solution).

I added the filter above, do you still see ads in the middle ? or are you @kulfoon talking about promoted stuff on the right side ? are all of those links / sections real ads or only self-promoted parts ?

( @ghajini if you want to catch my/our attention don't simply replace your last comment with something else, better add a new comment)

Now the trc.taboola.com scripts are whitelisted for ndtv, do you still need the images too ?
@@||trc.taboola.com/ndtv-ndtvmobile/$image,domain=ndtv.com

mapx : or are you kulfoon talking about promoted stuff on the right side ? are all of those links / sections real ads or only self-promoted parts ?

Yea, I was talking about the promoted links, I thought it was the same thing like the sponsored links, but sorry, now I'm not sure anymore...best to wait for ghajini to answer.

I added
https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-477488484 filter
& offcourse updated all filters
Still.I can't access articles at bottom of page that were unblocked by taboola filter....
https://user-images.githubusercontent.com/20338483/55168304-828a5d80-516a-11e9-97bf-171249129ee6.png

https://user-images.githubusercontent.com/20338483/55168381-a0f05900-516a-11e9-994b-3855d7c29465.png

due to adguard mobile ads filter...'.
馃@kulfoon thanks for your contributions, I see no ads as.of now those were legit....what you see like sentence sponsored /promoted links by taboola is a placeholder.not a ad

@ghajini try:
@@||trc.taboola.com/ndtv-ndtvmobile/$image,xhr,domain=ndtv.com

Nope still I see warning....
Something like this
@@||trc.taboola.com/ndtv-ndtvmobile/log/*$domain=trc.taboola.com
Unblocks articles for me. .....
I don't know if this adds tracking
Can't we noop these connections, I see similar taboola filter.in unbreak list for cnet

Are all those requests trc.taboola.com/ndtv-ndtvmobile/log/ only images ? png ?

if images and png try
||trc.taboola.com/ndtv-ndtvmobile/log/*$image,redirect=2x2-transparent.png,domain=trc.taboola.com

From logger what I see it originates as type doc
You can check yourside, subscribe to adguard mobile ads filter on.desktop browser then click on bottom articles
No that filter doesn't help

Firefox android

New ads appeared at bottom of page....this appears after page load.....in between articles at bottom navigation bar from left to.right
https://prnt.sc/n496h2
http://prnt.sc/n498wd

did you test
ndtv.com##.composite-branding.branding ?

or
ndtv.com##.composite-branding.branding:has-text(/sponsored/i):xpath(..)

(I get no such sponsored stuff, so you have to test the filters)

Tested
ndtv.com##.composite-branding.branding:has-text(/sponsored/i):xpath(..)
working finally.....

Just thought -
Pretty nasty stuff taboola and Colombia

Fix doesn't work here
https://www.ndtv.com/india-news/lok-sabha-elections-2019-have-support-from-congress-says-bjps-nitin-gadkari-ahead-of-polls-2013902?amp=1&akamai-rum=off&amp_js_v=0.1&usqp=mq331AQECAEoAQ==

which one ? and means what ? still ads ? which ads ?

No ads.....articles hidden

mobile or desktop ?

Now on Firefox android 66
Ublock origin 1.18.14
Will give you feedback tomorrow morning

test
@@||trc.taboola.com/ndtv-ndtvmobile/log/$image,domain=ndtv.com

No that doesn't work......
Firstly I have to do some work in order to unblock articles

  1. Whitelist ampproject in order to see taboola
    2.whitelist taboola and as well as no cosmetic filtering for site because there are cosmetic filters in adguards mobile ads filter for taboola
  1. Then you see articles unblocked
  2. This offcourse invites sponsored ads

Note-
your previous fixes doesn't work for
https://www.ndtv.com/india-news/lok-sabha-elections-2019-have-support-from-congress-says-bjps-nitin-gadkari-ahead-of-polls-2013902?amp=1&akamai-rum=off&amp_js_v=0.1&usqp=mq331AQECAEoAQ==
Interestingly this works for another URL for mentioned in original threads

PAge served on my end
https://pastebin.com/1TfzzRiY

test

@@||cdn.ampproject.org/*amp-ad$script,domain=ndtv.com
@@||cdn.taboola.com/libtrc/ndtv-ndtvmobile/loader.js$script,domain=ampproject.net
@@||cdn.taboola.com/libtrc/impl.$script,domain=ampproject.net
@@||trc.taboola.com/ndtv-ndtvmobile/$script,domain=ampproject.net
ndtv.com#@#amp-embed[type="taboola"]

Sponsored ads
Screenshot_2019-03-30-14-13-26-191_org mozilla firefox

I cannot reproduce on desktop (tried 3 user agent switcher)

Yeah require
android device with Firefox browser android
Whom among contributors have android device?.....
@gwarser @gorhill

This is not ad?

Screenshot_20190330-234636

Must be mislabeled, because is hidden by ##.trc-content-sponsored

In your screenshot clearly I see manuka feed sponsored links which is ad, below which (deepika......) is legit....
Which URL, I will check.....
By the way check this
https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-478133586
https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-478206104

ghajini:

Yeah require
android device with Firefox browser android
Whom among contributors have android device?.....

How many times need to repeat... https://github.com/uBlockOrigin/uAssets/issues/3482#issuecomment-433596075 + https://developer.mozilla.org/en-US/docs/Tools/Responsive_Design_Mode

For now https://addons.mozilla.org/android/addon/amp2html/


Responsive Design Mode in Firefox works just fine. You may only need to select real device from list (there is more under "Edit List")


Side note - for me, this page works good enough.

@gwarser

You mean needing the filters above
https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-478217396

or does work without them ?

Default settings. On HTML page sometimes legit (? Deepika) links are hidden, on AMP taboola thumbnails are not shown at all.

BTW at the link OP gave: https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-478133586 / https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-478206104
I get some empty ad containers and labels on Firefox Desktop and Opera
(both with and without https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-478217396 ), so unrelated):


spoiler

Anim 001

@mapx- with your exceptions, on html version ads are not hidden, looks like this: https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-478221604

I'm not convinced these "Deepika"-like thumbnails are not ads, because they seems to link to random external domains and after click they redirect through the same tracker as ads.

@gwarser did you enable AdGuard Mobile Ads filter too ?

Even in html version I get no such ads, weird

Sorry - it's other way around, AMP ads are not hidden. It's because I also have "Ignore generic cosmetic filters" checked (mobile default).

last filters (still not getting those ads)

@@||cdn.ampproject.org/*amp-ad$script,domain=ndtv.com
@@||cdn.taboola.com/libtrc/ndtv-ndtvmobile/loader.js$script,domain=ampproject.net
@@||cdn.taboola.com/libtrc/impl.$script,domain=ampproject.net
@@||trc.taboola.com/ndtv-ndtvmobile/$script,domain=ampproject.net
ndtv.com#@#amp-embed[type="taboola"]
ndtv.com##[id^="adslot"]
ndtv.com##div[style]:has-text(/advertisement/i)

However, without them the page is broken

These unhidden ads are from iframe from https://d-984640819716406753.ampproject.net/1903262220080/frame.html

Any of these hides them:

ampproject.net##.trc-content-sponsored
ampproject.net##.trc_rbox .syndicatedItem
ampproject.net##.trc_rbox_border_elm .syndicatedItem
ampproject.net##.trc_rbox_div .syndicatedItem

They are generics from EasyList.

@ghajini , test again after updating your lists

@gwarser with due respect,
May I know which URL you get
https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-478296564
I asked you this already previously so that I can understand your comment
https://github.com/uBlockOrigin/uAssets/issues/5190#issuecomment-478327909......
in better way

Heh, sorry, this was random page and I cannot find it in history now.

These thumbnails now link to hop.live/video

@mapx thanks.....
@gwarser
Yeah sometimes ad of deepika(actress here馃槄) may be there as well as might be content.....
Im also at thought of requiring minimum exception filters, you may suggest filters or equivalent defuser

yeah, we know Deepika (- Novak story) ;)

Breakage-

Article content is hidden...
URL-
https://www.ndtv.com/india-news/watch-how-india-blasted-satellite-300-km-above-earth-with-mission-shakti-2019335?pfrom=home-topscroll

setup -

Firefox android browser 66

Ublock origin 1.18.16

Screenshots-

  1. Ublock origin enabled

https://user-images.githubusercontent.com/20338483/55687638-cd705600-595e-11e9-9134-090724e6485b.jpg

  1. Ublock origin disabled-

https://user-images.githubusercontent.com/20338483/55687663-11fbf180-595f-11e9-89ad-f097b2a37ed3.jpg

Notes-
Breakage not on desktop browsers

tested 3 user agent:

  • 2 of them => even disabling uBo I get no content or only the video
  • 1 => I get the whole article like for desktop

User agent changer not useful, try
https://github.com/uBlockOrigin/uAssets/issues/3482#issuecomment-433596075
if you can

same result (and using indian ip via hola) => I get the whole article

www.ndtv.com#@#div[style]:has-text(/advertisement/i)

image

I can replace that filter by
ndtv.com##:xpath(//div[contains(text(),"Advert")])

@gwarser , does it work for you ?

Looks good.

Yes that unblocked articles.....
@gwarser since it looks like you are closer to android setup, any filter needed or deducted in order to have minimum exception filters for site

What you mean?

Firefox android
Ublock origin 1.19.6

@mapx-
Does something changed in filters....

https://www.ndtv.com/india-news/veteran-film-and-theatre-personality-girish-karnad-dies-at-81-2050674?pfrom=home-topscroll

legit articles at bottom of page are inaccessible....

scrolling and scrolling here ... no apparent issue, screenshot with what's missing on your side ?

1.
Go here
https://www.ndtv.com/india-news/veteran-film-and-theatre-personality-girish-karnad-dies-at-81-2050674?pfrom=home-topscroll

2.
Wait for bottom articles to fetch ..scroll below

  1. Click on them(bottom articles)
  2. Result =they don't load on my side,they are blocked by adguards mobile ads filter ||trc.taboola.com^ as per logger
    Also blocking window is not displayed by ublock origin 1.19.6 firefox android

does this work for you ?
@@||trc.taboola.com/ndtv*/log/*$domain=trc.taboola.com

Perfect 馃憤

hello what about this for hide the promoted links:

ndtv.com##+js(aopr, _taboola)

https://gadgets.ndtv.com/games/features/age-of-empires-2-definitive-edition-release-date-download-cheats-gameplay-civilizations-steam-releas-2130894

Those promoted links are self promo, pointing to the same site articles, right ?

you can add
gadgets.ndtv.com##.trc_rbox_container

https://www.ndtv.com/india-news/wasnt-the-one-in-a-mask-aishe-ghosh-hits-back-at-delhi-police-claims-2162086?pfrom=home-topscroll

@mapx-
Once again some filter from adguard mobile filters blocked articles at bottom of page

https://user-images.githubusercontent.com/20338483/72173610-fc3fbf00-33fd-11ea-94f3-be159be7878f.jpg

On clicking on them page go blank like this
https://user-images.githubusercontent.com/20338483/72173663-14afd980-33fe-11ea-880a-b0870a1b0b33.jpg

This time
@@||trc.taboola.com/ndtv-ndtvmobile/log/3/click$subdocument,domain=www.ndtv.com
Unblock articles for me

Promoted 3rd party (ads)

https://food.ndtv.com/health/morning-coffee-may-not-be-a-great-option-for-the-diabetics-experts-explain-why-2305986

Platform =

Firefox android stable ,ublock origin 1.30

screenshots=

https://user-images.githubusercontent.com/20338483/95286700-aa8b6e80-0881-11eb-8ad0-155958cffb3f.jpg

https://user-images.githubusercontent.com/20338483/95286736-c1ca5c00-0881-11eb-9dbf-28026a684007.jpg

Amazon promotions ads

https://gadgets.ndtv.com/telecom/news/jio-5g-service-launch-india-rollout-second-half-2021-mukesh-ambani-2335646?pfrom=topstory

Screenshot_2020-12-08-15-38-45-358_org mozilla fenix

Firefox android, ubo stable

test

gadgets.ndtv.com###header_ad_before_id
gadgets.ndtv.com##.__wdgt_rhs_kpc
gadgets.ndtv.com##._kpw_wrp_rhs_widget

Missed
Screenshot_2020-12-08-16-07-12-819_org mozilla fenix

what about (remove the filters above):

||hotdeals360.com^$3p

what about (remove the filters above):

||hotdeals360.com^$3p

Correct ,work

Was this page helpful?
0 / 5 - 0 ratings

Related issues

efih picture efih  路  4Comments

BurungHantu1605 picture BurungHantu1605  路  3Comments

ghost picture ghost  路  3Comments

pepablock picture pepablock  路  4Comments

ip012 picture ip012  路  3Comments