User Tools

Site Tools


tool:software:firefox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tool:software:firefox [2020/05/02 04:59]
rjt usercontent.css info
tool:software:firefox [2020/05/02 08:15] (current)
rjt [Styling] double quotes seem to break the styles? Note on other syntax
Line 59: Line 59:
   - Open your profile directory (for me it's ''​~/​.mozilla/​[profile name]''​) and create a directory called ''​chrome''​ if it doesn'​t exist.   - Open your profile directory (for me it's ''​~/​.mozilla/​[profile name]''​) and create a directory called ''​chrome''​ if it doesn'​t exist.
   - Inside ''​chrome''​ create a file called ''​userContent.css''​   - Inside ''​chrome''​ create a file called ''​userContent.css''​
-  - Added rules to this, enclosed within ''​@-moz-document domain("[url]") {}''​ that references the site you wish to target.+  - Added rules to this, enclosed within ''​@-moz-document domain([url]) {}''​ that references the site you wish to target
 +    * Instead of ''​domain([url])''​ you can use ''​url'',​ ''​regex'',​ etc. See: [[https://​developer.mozilla.org/​en-US/​docs/​Web/​CSS/​@document#​Syntax|@document#​Syntax]].
  
 == Example == == Example ==
  
-<​code>​@-moz-document domain("ryliejamesthomas.net") {+<​code>​@-moz-document domain(wiki.ryliejamesthomas.net) {
  body {  body {
  background-color:​red;​  background-color:​red;​
tool/software/firefox.txt · Last modified: 2020/05/02 08:15 by rjt