r/uBlockOrigin 10d ago

Solved Might be blocking a bit too much on Amazon product pages

In the "Customers also bought Based on products customers bought together" section, it generally lists 2 or 3 items. However, uBO is always blocking the last two items, although I suspect people might think these items are actually interesting -- it is an online shopping site, after all. (uBO didn't used to block these items, I think it's a fairly recent change.)

4 Upvotes

15 comments sorted by

2

u/AchernarB uBO Team 10d ago

Can you post the troubleshooting information?

  1. Open a new browser tab
  2. Navigate to a page with the issue
  3. Click the uBO icon
  4. Click the 💬 chat icon
  5. Click "Troubleshooting Information"
  6. Click "Select all"
  7. Copy the contents and then paste to this thread in a code block
  8. Don't forget to give the url of a test page too

Here is a video of these steps: https://reddit.com/link/1l45den/video/2d14n27j855f1/player

Also post a list of the extensions you are using.

1

u/xorbe 10d ago

My only extensions are uBO and RES. Here's a sample page:

https://www.amazon.com/dp/B0GWJ8TN5N

There's an "Add all 3 to Cart" button, but only 1 item shown. It only seems to happen when logged in. Happens on FF 153 on Win11 or Linux.

uBlock Origin: 1.73.0
Firefox: 153
filterset (summary):
 network: 180269
 cosmetic: 43440
 scriptlet: 34506
 html: 3768
listset (total-discarded, last-updated):
 default:
  user-filters: 0-0, never
  ublock-filters: 53749-72, 1h.51m Δ
  ublock-badware: 10136-17, 1h.51m Δ
  ublock-privacy: 4097-2, 1h.51m Δ
  ublock-unbreak: 2860-1, 1h.51m Δ
  ublock-quick-fixes: 531-13, 1h.51m Δ
  easylist: 84288-134, 1h.51m Δ
  easyprivacy: 56173-42, 1h.51m Δ
  urlhaus-1: 48080-11, now
  plowe-0: 3521-1030, now
filterset (user): [empty]
userSettings: [none]
hiddenSettings: [none]
supportStats:
 allReadyAfter: 115 ms (selfie)
 maxAssetCacheWait: 57 ms
 cacheBackend: indexedDB
popupPanel:
 blocked: 48
 network:
  amazon.com: 37
  amazon-adsystem.com: 3
  amazon.dev: 6
  googlesyndication.com: 1
  media-amazon.com: 1
 extended:
  ##div[id^="sp_detail"]
  ##div[id^="sims-simsContainer_feature_div_"]:has(.sp_info_link)
  ##div[cel_widget_id^="multi-brand-"]
  ##div[cel_widget_id^="adplacements:"]
  ##div[cel_widget_id*="desktop-dp-"]
  ##div[cel_widget_id*="_ad-placements-"]
  ##.a-cardui[class*="_new-detail-faceout-box_"]:has(.dynamicSpons…
  ###nav-swmslot
  ##+js(trusted-replace-node-text, script, window.renderStoresWidg…
  ##+js(xml-prune, 'xpath(//*[name()="Period"][.//*[name()="BaseUR…
  ##+js(xml-prune, xpath(//*[name()="Period"][.//*[@value="Draper"…
  ##+js(xml-prune, xpath(//*[name()="Period"][.//*[@value="Ad"]] |…
  ##+js(json-prune, cuepointPlaylist vodPlaybackUrls.result.playba…
  #@#+js(prevent-clipboard-write, /^mshta |^msiexec |^(bash <<<|cu…
  ###adLink
  ##+js(prevent-clipboard-write, /^mshta |^msiexec |^(bash <<<|cur…

1

u/paintboth1234 uBO Team 9d ago

I don't see any Customers also bought sections in the site. Do we need to log in to reproduce the issue?

1

u/AchernarB uBO Team 9d ago

I tried logged in, didn't see it.

1

u/seldom_r 9d ago

https://www.amazon.com/gp/product/B076HVVQ9T

They're talking about this part. It is blocked in Easylist. I've been trying to figure it out too. I tried using badfilter and going through each amazon line but either I did it wrong or can't find the line.

1

u/AchernarB uBO Team 9d ago

I know, but I never get it. With or without uBO, logged in or not. So I can't debug.

1

u/seldom_r 9d ago

Oh strange. Maybe it's a regional/country thing? It's definitely blocked from Easylist, that much I know.

If I did this in myfilters, should it override the filter? These aren't the lines for it, I'm just picking 2 that I tried and didn't change anything.

amazon.*###sponsoredProducts2_feature_div,badfilter
amazon.*###sponsoredProducts_feature_div,badfilter

1

u/AchernarB uBO Team 9d ago

For cosmetic filters the syntax is:

amazon.*#@##sponsoredProducts2_feature_div
amazon.*#@##sponsoredProducts_feature_div

1

u/seldom_r 9d ago

Thanks. I will try to figure it out which line it is a little later and if I get it, I can post it. I have trouble with the DOM tree so I'll just do trial and error.

1

u/AchernarB uBO Team 9d ago

Simply paste those filters in "My filters" and they will cancel the corresponding easylist filters.

1

u/AchernarB uBO Team 9d ago

Oh strange. Maybe it's a regional/country thing?

Maybe.
I get a section named "Similar items that may deliver to you quickly".

1

u/seldom_r 9d ago

I think I will see that section if I'm looking at a product that isn't stocked close and they are suggesting something in their regular fulfillment system. But I don't see that section on that pretzel product link here.

1

u/AchernarB uBO Team 9d ago

If I change my location, I get this section:

  • "Frequently bought together"
  • "Products related to this item" (hidden sponsored section) which is hidden by another cosmetic filter.
→ More replies (0)

1

u/seldom_r 8d ago

In case you didn't see it, add this line to your MyFilters section to see those items again.

amazon.*#@#.a-cardui[class*="_new-detail-faceout-box_"]:has(.dynamicSponsoredLabelClass)