Skip to content

Instantly share code, notes, and snippets.

@DeeNewcum
Last active March 12, 2026 17:09
Show Gist options
  • Select an option

  • Save DeeNewcum/6f281c57a3bca1459042f0767e920ddf to your computer and use it in GitHub Desktop.

Select an option

Save DeeNewcum/6f281c57a3bca1459042f0767e920ddf to your computer and use it in GitHub Desktop.
Firefox user CSS sync
/*
* Since it's difficult or impossible to synchronize user CSS, I'm using this to manually
* update changes across all my browsers.
*
* How to install: https://www.reddit.com/r/FirefoxCSS/wiki/index/tutorials/
*
* To edit this file:
# The most recently-used profile directory
FIREFOX_PROFILE=$( ls -1rtd $( cygpath -u "$APPDATA\Mozilla\Firefox\Profiles" )/* | tail -1 )
cd $FIREFOX_PROFILE
mkdir -p chrome; cd chrome; ls -lrt
vim userContent.css
*
* If a lot of white blank space appears on the left side of Amazon, and won't go away, here's
* how to solve it:
* https://www.reddit.com/r/amazonprime/comments/1rahgmy/what_is_this_empty_white_space_and_how_do_i_get/o78b5dj/
* https://www.reddit.com/r/uBlockOrigin/comments/1pod2g6/block_rufus_popup_on_amazon_in_firefox_without/
*/
@-moz-document domain(www.amazon.com) {
/* delete the Rufus auto-popup */
div#nav-flyout-rufus {
display: none !important;
}
/* delete the Rufus auto-popup */
body.rufus-docked-left {
padding: 0 !important;
}
/* delete the strip that's pure advertisement */
div#percolate-ui-ilm_div {
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment