uBlockOrigin / uAssets

Resources for uBlock Origin, uMatrix: static filter lists, ready-to-use rulesets, etc.
GNU General Public License v3.0
4.09k stars 764 forks source link

flipkart.com: ads #25438

Closed olumolu closed 2 weeks ago

olumolu commented 2 weeks ago

Prerequisites

URL(s) where the issue occurs.

Flipkart.com
Flipkart.net

Description

This website does not show stuff Half of them are broken

Other extensions used

None

Screenshot(s)

Screenshot(s) ![Screenshot_20240926-112606](https://github.com/user-attachments/assets/eec33adb-17ff-449f-a48e-f2b380935a2b) ![Screenshot_20240926-112409](https://github.com/user-attachments/assets/402f8638-d9d6-441f-a379-7dab6218f601)

Configuration

Details ```yaml uBlock Origin: 1.59.0 Firefox Mobile: 130 filterset (summary): network: 207441 cosmetic: 57314 scriptlet: 21782 html: 1994 listset (total-discarded, last-updated): added: adguard-spyware-url: 1711-126, 21h.1m adguard-spyware: 80550-25436, 3d.18h.7m default: user-filters: 0-0, never ublock-filters: 41094-139, 2h.7m Δ ublock-badware: 11317-6, 2h.7m Δ ublock-privacy: 1240-25, 2h.7m Δ ublock-unbreak: 2533-1, 2h.7m Δ ublock-quick-fixes: 136-5, 2h.7m Δ adguard-mobile: 9816-178, 2d.1h.33m easylist: 85509-185, 2h.7m Δ easyprivacy: 53089-61, 2h.7m Δ urlhaus-1: 25375-0, 18h.38m plowe-0: 3542-1066, 8d.1h.38m filterset (user): [empty] trustedset: added: [array of 7 redacted] userSettings: cloudStorageEnabled: true webrtcIPAddressHidden: true hiddenSettings: [none] supportStats: allReadyAfter: 463 ms (selfie) maxAssetCacheWait: 138 ms cacheBackend: indexedDB ```
olumolu commented 2 weeks ago

https://github.com/user-attachments/assets/1f7c0393-b77c-4d41-b67a-2b09a16a249e https://github.com/user-attachments/assets/6d865676-a12d-427e-906c-7095e4fc5b44

mapx- commented 2 weeks ago

@olumolu do you still get breakages ? if YES provide more details

ghajini commented 2 weeks ago

these are sponsored sections https://github.com/user-attachments/assets/242f0369-584b-491c-b485-ce90941d063d

require emulation to see further

mapx- commented 2 weeks ago

oh, ads, maybe:

flipkart.com##[style^="--sm-order"]:has-text(Sponsored)

ghajini commented 2 weeks ago

it does not work something like flipkart.com##div[dir]:has-text(/^(?:Sponsored|AD)$/):upward(div[style^="transform: translate"]) Untitled777

(my usb debugging disconnects frequently, so i came with this)

stephenhawk8054 commented 2 weeks ago

This might work when searching on the page

flipkart.com##+js(json-prune-fetch-response, RESPONSE.slots.[-].widget.data.products.[].value.adInfo, , propsToMatch, /fetch)

but might not work when refreshing the search page, because the data is in view-source instead.


Maybe combine with this for when refreshing the page?

flipkart.com###_parentCtr_ > div div[style]:is([style^="color:rgba"],[style^="color: rgb("]):has-text(Sponsored):upward(#_parentCtr_ > div)
ghajini commented 2 weeks ago

looks good(scriptlet+ cosmetic filter), alone cosmetic filter also works.

ghajini commented 2 weeks ago

@stephenhawk8054 when i add filters suggested by you, i get ad/sponsored section when i search "paithani silk saree" , its back on refresh

olumolu commented 2 weeks ago

Now it seems to be working fine. I am closing the report if you guys need you can reopen for specific task. I am closing so minimize clutter.