Firefox Settings


Here are settings and extensions that I use in Firefox.



about:preferences



Above is the native Global Privacy Control (GPC) setting in Firefox version 120 and later.



Here, make sure to include the smart quotes or just search for Do Not Track.




about:config


I recently noticed that you can use an asterisk * wildcard to search for keys in about:config. For example, zoom*spec will show the browser.zoom.siteSpecific preference.



When you load a large image in a new tab, Firefox will resize the image to fit the window.


automatic_image_resizing allows you to load or refresh a stand-alone image without having to click to zoom.



This setting allows you to zoom (Ctrl + Mouse Wheel) a specific tab without affecting other tabs or the whole website. I found this useful on Gmail. I can open an e-mail in a new window and zoom the message there without affecting the rest of Gmail.



Extensions


Firefox Multi-Account Containers

NoScript

Swift Selection Search

Greasemonkey

Privacy Badger

DuckDuckGo Privacy Essentials



Template Profile


I create many Firefox profiles. And, while it is nice to have these steps enumerated, the process of creating a Firefox profile is not as easy as it could be.


To that end, I have a new process where I create a new Firefox profile, copy my default settings from a template, and then customize the new profile. I am following the instructions for backing up and restoring Firefox profiles. The instructions are linked below. In this way, I have most of the settings saved in the template. And then all I have to do for the new profile is add a home page and log in. I no longer have to go over the list above and change every setting.


Make sure to check your search engine after customizing. I've found Firefox likes to reset the search to Google.



Bookmarklets


A bookmarklet is a small piece of JavaScript that can be saved in the Address field of a bookmark. Then, when the bookmark is clicked, the JavaScript is executed.


The bookmarklets below generate a formatted link for the current page. Click on the bookmarklet and copy the link from the prompt.


These bookmarklets don't work on every Web site. I believe the issue is some sites restrict the JavaScript URI via their Content Security Policy.




javascript:(function(){
  var myText = '=> ' + document.URL + '    ' + document.title;
  prompt("Gemini Link", myText); 
})();




javascript:(function(){
  var title = document.title; 
  var url = document.URL; 
  title = title.replace(/\u005b/g, "\\[");
  title = title.replace(/\u005d/g, "\\]");
  var myLink = "[" + title + "](" + url + ")"; 
  prompt("Markdown Link", myLink);
})();



Firefox Scrollbar


I find it difficult to use the scrollbar in Firefox. It is too small. And, I miss having the arrow buttons which allowed me to scroll continuously.


Below, I suggest some changes to make scrolling easier on the desktop.



about:preferences


In Firefox settings, I suggest disabling auto-hide.




about:config


In about:config, the following two settings widen the scrollbar.


After navigating to the about:config URL in Firefox, search for each setting and modify its value. Below, the name of the setting is to the left of the colon and my suggested value is to the right.



Also, these advanced preferences have the advantage of working in the Reader View and while viewing PDFs. Customizations made by add-ons won't work on privileged pages.



Extensions


ScrollAnywhere


You have the option of using an add-on to modify the scrolling behavior.


While I prefer scrollbar arrow buttons, those are not available in Firefox. And, the specific issue I am trying to address are "infinite scroll" pages like some search results and news articles. This is where the page keeps loading new content at the bottom and where an arrow button would be useful.


Right now, I'm trying out the ScrollAnywhere Firefox add-on. I have the multiplier set to 3.0. And this allows me to scroll to the bottom of an article in one gesture which solves my problem.


Note that middle clicking to paste continues to work normally on Linux. And the option to enable middle clicking only enables the clipboard permission for the add-on: resulting in a loss of privacy.



References


Back up and restore information in Firefox profiles | Firefox Help

Global Privacy Control | Firefox Help

How to increase Firefox scrollbar width? | Reddit

Firefox Scrollbar Styles | Make Use Of

This Thunderbird thread mentions the zoom preference in Firefox | Thunderbird Support



Changes



Created: Tuesday, April 26, 2022

Updated: Sunday, March 3, 2024




/gemlog/