Skip to content

Commit 3bcaf08

Browse files
committed
Add tutorial on how to add then enable Firefox’s user agent style sheet
1 parent 7a5b6a1 commit 3bcaf08

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
1. In Firefox’s address bar, type `about:profiles`.
2+
2. Click the button at the end of the entry for `Root Directory` to open the root directory in your machine’s Finder/Explorer.
3+
3. Open the highlighted folder, then create a new folder called `chrome`.
4+
4. Create a file called `userContent.css` _inside_ the new `chrome` folder. (Consider putting the `chrome` folder under Git control.)
5+
5. Visit `about:config`.
6+
6. Search for `toolkit.legacyUserProfileCustomizations.stylesheets`, then click the `` icon.
7+
7. Restart Firefox.
8+
9+
**Note**: Any changes to `userContent.css` won’t take effect until you restart Firefox.

tutorials/css/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ <h2>Responsive Design Using Media Queries</h2>
7070

7171
<h2>Random</h2>
7272
<ul>
73+
<li><a href="enabling-firefox-user-agent-style-sheet">Enabling Firefox’s user agent style sheet</a></li>
7374
<li>The <a href="anatomy-of-a-qualified-css-rule">anatomy of a qualified rule</a></li>
7475
<li>Styling <a href="anchors"><code>a</code>nchors</a></li>
7576
<li>Single animation using a <a href="animations/single/counter"><code>counter</code></a></li>

0 commit comments

Comments
 (0)