Skip to content

Instantly share code, notes, and snippets.

@t27
Last active July 8, 2025 09:31
Show Gist options
  • Save t27/e188046e9457b8ce4d2e448c25f2bc29 to your computer and use it in GitHub Desktop.
Save t27/e188046e9457b8ce4d2e448c25f2bc29 to your computer and use it in GitHub Desktop.
Ublock Origin rules to hide the Amazon.com Cart sidebar that can't be hidden via any setting/config on the website
! Ublock Origin rules to hide the Amazon.com Cart sidebar that can't be officially hidden
! hide the sidebar
www.amazon.com###nav-flyout-ewc
www.amazon.com###nav-flyout-anchor
! ensure the rest of the site covers full width
www.amazon.com##body:style(padding-right: 0px !important)
@Zhurama
Copy link

Zhurama commented Jul 8, 2025

This works 99.5% perfectly.. Best solution yet.

Removing the flyout-anchor in line 5 caused me to noe be able to access any pop down menus on the page and the wishlist is inaccessible without going directly into Accounts>Your Lists, so I commented that line out. This leaves the anchor on the page and a slight overspill of the frame, but it otherwise solves my problem with no pop down menus.

I mean.. I wouldn't mind the cart subtotal so much if it actually fit the frames and didn't have a gap that causes it to run off of the visible page with no apparent solution..

For the @VLM-TechEd above who asked.. Add these lines by goign to>
uBlock Origin Options> My Filters> Add lines 1-8 to the My Filters Section> Apply Changes> Refresh Amazon Page and POOF!!! Fixed!

TYVVVSVVM!
Namaste

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment