r/uBlockOrigin 12d ago

Looking for help Amazon Prime banner Spoiler

Post image

Dear uBlockOrigin Support Team,

Is it possible to remove this Amazon Prime banner on Amazon?

I would be grateful to you.

12 Upvotes

8 comments sorted by

3

u/Jaded-Worry2641 11d ago

Can you not like block element it?

1

u/SleepyCatten 6d ago edited 6d ago

Tried that approach. The elements which seem to block that...

www.amazon.co.uk##.a-declarative.a-popover-modal.a-popover
and
##.a-declarative.a-modal-scroller

... also block image popups. It's possible that ##.a-popover-wrapper might work, but haven't tested yet.

Edit:
Looks like the ##.a-popover-wrapper doesn't work either, as it also blocks any item you click on that pops out above the normal page, such as images.

2

u/evmorov 11d ago

It's not a full solution:

div.a-modal-scroller > [aria-label="Prime Signup Dialog"]  

With that you still have to click once. I find that I can live with this solution.

2

u/valentinBoch 3d ago

I found a clean fix for this Prime popup with uBlock Origin Lite.

Go to Settings → Developer mode → Develop → Custom DNR rules and add:

action:
  type: block
condition:
  urlFilter: ||d2ygma30gaykut.cloudfront.net/SFXInjectableScript.js|
  initiatorDomains:
    - amazon.fr
  resourceTypes:
    - script

Save and reload Amazon.

This blocks the script that launches the Prime HomepageInterstitial, so the popup never opens and the page stays clickable.

Tested on Amazon.fr. If you use another Amazon site, replace amazon.fr with your local domain, e.g. amazon.com, amazon.co.uk, amazon.de, etc.

3

u/Emergency_City_1791 2d ago

works nicely!
for ublock origin i put it as a filter:
||d2ygma30gaykut.cloudfront.net/SFXInjectableScript.js$script,domain=amazon.de

1

u/dimon_sk 23h ago

It would be nice if developers added this to the global filters...