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
Next revision
Previous revision
tool:software:firefox [2019/08/14 06:01]
rjt [Browser works, pages don't load] left a dot out of the path
tool:software:firefox [2020/09/08 01:40] (current)
rjt https://github.com/mozilla/readability
Line 3: Line 3:
 ===== Config ===== ===== Config =====
 ==== Updates ==== ==== Updates ====
 +
 To disable automatic updates you now have to do it though ''about:config'' :/ To disable automatic updates you now have to do it though ''about:config'' :/
  
Line 12: Line 13:
 ===== Tips'n'Tricks ===== ===== Tips'n'Tricks =====
 ==== Address Bar ==== ==== Address Bar ====
 +
 You can narrow your searches by starting them with: You can narrow your searches by starting them with:
  
Line 22: Line 24:
  
 They're easy to forget, but there's a little add-on you can use to remind yourself: [[ffaddon>location-bar-characters]]. They're easy to forget, but there's a little add-on you can use to remind yourself: [[ffaddon>location-bar-characters]].
 +
 +==== Dark Mode ====
 +
 +To tell websites that you prefer to view pages i ndark mode (or...)
 +
 +  - ''about:config''
 +  - Find ''ui.systemUsesDarkTheme''
 +    * ''0'' = light
 +    * ''1'' = dark
 +    * ''2'' - no prefernce
 +
 +If you want your UI to be themed you need to use a theme.
  
 ==== Reader View ==== ==== Reader View ====
Line 34: Line 48:
  
 ==== RSS ==== ==== RSS ====
-To add a custom [[form:www:RSS]] feed reader, so that when you click o nthe 'subscribe' button you can subscribe with your choice of reader, you: 
  
-  - Go to ''about.config'' 
-  - search for ''browser.contentHandlers.types'' 
-  - Notice the numbers after them. What we need to do is look at the hiest number, and make three strings with the next number in the sequence. 
-  - So ''right-click > New > String'' 
-  - Enter ''browser.contentHandlers.types.[number].title'', then add the title of your reader. 
-  - Enter ''browser.contentHandlers.types.[number].type'', then add ''application/vnd.mozilla.maybe.feed''. 
-  - Enter ''browser.contentHandlers.types.[number].uri'', then add the URL for your readers 'add feed' function placing a ''%s'' where the feed's URL should go. This last part's the trickiest to describe, 'cause it's gunna differ for each reader. But I'll add examples below 
-  - Restart Firefox. 
  
-^ Reader   ^ String ^ +==== Styling ====
-| [[FreshRSS]] | ''[url]/i/?c=feed&a=add&url_rss=%s'' |+
  
-=== See Also === +As an alternative to add-ons like [[stylus]] you can simply add [[language:CSS]] rules to the file ''userContent.css''
-  * [[https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/2/Adding_feed_readers_to_Firefox|Adding feed readers to Firefox]]+ 
 +=== Method === 
 + 
 +  - Open ''about:config'' and turn ''toolkit.legacyUserProfileCustomizations.stylesheets'' to ''True''
 +  - 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'' 
 +  - 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 == 
 + 
 +<code>@-moz-document domain(wiki.ryliejamesthomas.net) { 
 + body { 
 + background-color:red; 
 +
 +}</code>
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
 +
 ==== Browser works, pages don't load ==== ==== Browser works, pages don't load ====
 +
 Sometimes after a crash Firefox will start-up just fine, but pages won't load. Deleting ''~/.cache/mozilla'' seems to fix it. Sometimes after a crash Firefox will start-up just fine, but pages won't load. Deleting ''~/.cache/mozilla'' seems to fix it.
  
-{{tag>fixes "web browser"}}+I ended up making an //alias// in my ''.bashrc'': 
 +<code bash>alias fix-firefox='rm -rf ~/.cache/mozilla/firefox'</code> 
 + 
 +===== See Also ===== 
 +  * [[github>mozilla/readability]] - Standalone version of the reader mode. 
 + 
 +{{tag>fixes "web browser" bash}}
tool/software/firefox.1565776875.txt.gz · Last modified: 2019/08/14 06:01 by rjt