- Open Firefox and press Alt to show the top menu, then click on
Help→Troubleshooting Information - Click the
Open Folderbutton beside theProfile Folderentry - Create a folder named
chromein opened directory (must be lowercase) - In the
chromefolder, create a CSS file with the nameuserContent.css - Copy the following code to
userContent.csswith changes according to your needs@-moz-document domain(website.com) { div.premium-button { display: none !important; } }
- Open
about:configpage in Firefox - Find
toolkit.legacyUserProfileCustomizations.stylesheetsentry and change it totrue - Restart browser and enjoy native css in Firefox!
-
-
Save rkd-me/889263d36533cb16c402bf8a9ead23ac to your computer and use it in GitHub Desktop.
Override CSS for websites without installing add-ons in Firefox! 🦊 (notion:be29f352627d4784bdc7b630e7ce473e)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Pocket */ | |
| @-moz-document domain(app.getpocket.com) { | |
| /* Upgrade button at the top ribbon. */ | |
| a.css-osuxsv, | |
| /* Container with Premium advertisement under side navigation. */ | |
| div.css-3ceer { display: none !important; } | |
| } | |
| /* Feedly */ | |
| @-moz-document domain(feedly.com) { | |
| /* Upgrade button at the top of the page. */ | |
| #topHeaderBarFX button.pro { display: none !important; } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment