Skip to content

Instantly share code, notes, and snippets.

@t27
Last active April 28, 2023 20:15
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)
@githubgrit
Copy link

hello great script but I keep losing, when I refresh page and now I can't get it to work at all.
I am completely new to this.
Thanks for your help.

@darkmanifest
Copy link

I signed up for an account solely to thank you for posting this, I HATE that sidebar and couldn't figure out how to get the cosmetic filtering just right. This works perfectly.

@VLM-TechEd
Copy link

I've never entered a script in uBlock O before. How does one do so? Thank you.

@peterberbec
Copy link

I signed in just to say THANK YOU!

@dromeo79
Copy link

This is great. Thanks for sharing.

I had to open the Ublock Origin dashboard and add these lines to "my filters" section.

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