One of the features I absolutely love about Firefox is the ability to override CSS for websites, and that this setting syncs across multiple computers (if you have syncing turned on).
My use case is that I visit a particular site once a week, but it has no CSS applied on links already visited. Hard to keep track of stuff you’ve already seen… so I apply my own CSS overrides to that website.
- Type
about:support
in the URL bar of Firefox to open up the Troubleshooting information. - Click the button to open your profile folder.
- If there isn’t a folder named
chrome
, create one. - Inside it, create a file named
userContent.css
and insert your CSS there (see example below). - Go back to Firefox and type
about:config
in the URL bar. Accept the risk and continue. - Search for the setting
toolkit.legacyUserProfileCustomizations.stylesheets
and turn it fromfalse
totrue
. - Restart Firefox, and now your CSS should be applied.
Here’s an example of site-specific CSS:
@-moz-document domain(website.com) {
h2 a:visited { color: red !important; }
img { max-height: 90vh !important; }
}