Firefox Settings: Difference between revisions

From WickyWiki
mNo edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:201302]]
[[Category:Ubuntu]]
<!-- addon add-on -->
This page some Firefox extensions that I use regularly. Click on the name to search for them on Mozilla's site.
This page some Firefox extensions that I use regularly. Click on the name to search for them on Mozilla's site.


<!-- addon add-on -->
= Settings =
 
== Disable password pop-up ==
 
Using a password manager you might want to disable this dialog.
 
You can disable 'Ask to save passwords' in the settings. However, that would also disable this function for all sites.
 
I usually pick 'Never save' until I visited most password sites until it calms down a bit.
 
== Disable translation dialog 'Translate this page?' ==
 
# Enter '''about:config''' into the address bar
# Search for the preference named ''' browser.translations.automaticallyPopup'''
# Change its value to false.
 
== Force pop-ups in a new Tab ==
 
https://support.mozilla.org/en-US/questions/1066799
 
# Enter '''about:config''' into the address bar
# Search for the preference named '''browser.link.open_newwindow.restriction'''
# Change its value to 0.
 
== Don't close browser with last tab ==
 
# Go to URL: '''about:config'''
# Search for the preference named '''browser.tabs.closeWindowWithLastTab'''
# Change its value to false.
 
== Firefox disable website notifications ==
 
# Go to url: '''about:preferences''' (settings)
# Search 'notifications'
# Look for 'Permissions' and sub-item 'Notifications'
# Click Settings
# Check 'block new requests ~'
 
== Firefox force new tabs to load in background ==
 
# Go to URL: '''about:config'''
# Search for the preference named '''browser.tabs.loadDivertedInBackground'''
# Change its value to '''true'''.


== Enhanced functions ==
== Firefox disable quick find ==


=== Tab Mix Plus ===
Shortcut "/" brings up "Quick find" which can be quite annoying if you want tu use this character.


[https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Tab%20Mix%20Plus Tab Mix Plus] enhances Firefox's tab browsing capabilities. It includes such features as duplicating tabs, controlling tab focus, tab clicking options, undo closed tabs and windows, plus much more.
# Go to URL: '''about:config'''
# Search for the preference named '''accessibility.typeaheadfind'''
# Search for the preference named '''accessibility.typeaheadfind.autostart'''
# Search for the preference named '''accessibility.typeaheadfind.manual'''
# Change all these values to '''false'''.


=== Go parent Folder ===
== Firefox on-video picture-in-picture button ==


The plugin [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Go%20parent%20Folder Go parent Folder] enables you to see where a bookmark from a filter result is located.
If you hover over the video, the picture-in-picture button becomes visible. This, however, is suppressed for short videos. I found that streaming videos need to run for the duration before the button becomes available. You can lower this value here.


=== gTranslate ===
# Go to URL: '''about:config'''
# Search for the preference named '''media.videocontrols.picture-in-picture.video-toggle.min-video-secs'''
# default value is 45, lower this to for example 1


With [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=gTranslate gTranslate] you can right-click a selected text and translate it on the fly.
= Usage =


=== Password Exporter ===
== Find bookmark in folder structure ==


With [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Password%20Exporter Password Exporter] you can export and import your saved passwords to and from XML.
# Open the website the bookmark points to
# Click the bookmark star-icon in the address-bar
# In the dialog you can see where the bookmark is located


==Block functionality==
= Block functionality =


Block images, popups banners and flash before they annoy you:
Block images, popups banners and flash before they annoy you:


===block ads===
== Ads ==


* [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Adblock%20Plus Adblock Plus]
* [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Adblock%20Plus Adblock Plus]
Line 31: Line 86:
* [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Adblock%20Plus%20Pop-up%20Addon Adblock Plus Pop-up Addon]
* [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Adblock%20Plus%20Pop-up%20Addon Adblock Plus Pop-up Addon]


===Block functionality===
See also:
* [[Raspberry Pi - Pi-Hole Network-wide ad blocking]]
 
== Script ==


* [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=NoScript NoScript: block Javascript, Flash, Silverlight etc.]
* [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=NoScript NoScript: block Javascript, Flash, Silverlight etc.]


== Search ==
= Search =


=== Add right-click search engines ===
== Add right-click search engines ==


Make search functionality available in the Search Bar with [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Add%20to%20Search%20bar Add to Search bar]
Make search functionality available in the Search Bar with [https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Add%20to%20Search%20bar Add to Search bar]
Line 64: Line 122:
</blockquote>
</blockquote>


====Force Firefox to remember passwords====
== Context Search Menu ==
 
How to force Firefox to remember passwords, despite the site's indication to not allow that:
* http://www.werockyourweb.com/force-firefox-save-password
 
Renamed from '''omni.jar''' to '''omni.ja''' and compressed differently, read this:
* https://developer.mozilla.org/en-US/docs/Mozilla/About_omni.ja_%28formerly_omni.jar%29
 
Unzip and ignore warnings:
 
<syntaxhighlight lang=bash>
unzip ./omni.ja -d ./omni
</syntaxhighlight>
 
Part of the file '''nsLoginManager.js''' in the archive '''omni.ja''' is modified to make function '''_isAutoCompleteDisabled''' always return false:
 
<syntaxhighlight lang=javascript>
    /* _isAutoCompleteDisabled
    * Returns true if the page requests autocomplete be disabled for the specified form input. */
    _isAutoCompleteDisabled : function (element) {
        //20130727: wjv: commented this part to always return false
        //if ( element && element.hasAttribute("autocomplete") && element.getAttribute("autocomplete").toLowerCase() == "off")
        //  return true;
    return false;
    },
</syntaxhighlight>
 
=== Context Search Menu ===


[https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Context%20Search Context Search] expands the context menu's 'Search for' item into a list of installed search engines, allowing you to choose the engine you want to use for each search.
[https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Context%20Search Context Search] expands the context menu's 'Search for' item into a list of installed search engines, allowing you to choose the engine you want to use for each search.


== Development ==
= Development =


=== Debugging JavaScript in your webpages ===
== Debugging JavaScript in your webpages ==


[https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Firebug Firebug]
[https://addons.mozilla.org/en-US/firefox/search/?platform=Linux&q=Firebug Firebug]
[[Category:201302]]
[[Category:Ubuntu]]

Latest revision as of 14:49, 8 November 2025


This page some Firefox extensions that I use regularly. Click on the name to search for them on Mozilla's site.

Settings

Disable password pop-up

Using a password manager you might want to disable this dialog.

You can disable 'Ask to save passwords' in the settings. However, that would also disable this function for all sites.

I usually pick 'Never save' until I visited most password sites until it calms down a bit.

Disable translation dialog 'Translate this page?'

  1. Enter about:config into the address bar
  2. Search for the preference named browser.translations.automaticallyPopup
  3. Change its value to false.

Force pop-ups in a new Tab

https://support.mozilla.org/en-US/questions/1066799

  1. Enter about:config into the address bar
  2. Search for the preference named browser.link.open_newwindow.restriction
  3. Change its value to 0.

Don't close browser with last tab

  1. Go to URL: about:config
  2. Search for the preference named browser.tabs.closeWindowWithLastTab
  3. Change its value to false.

Firefox disable website notifications

  1. Go to url: about:preferences (settings)
  2. Search 'notifications'
  3. Look for 'Permissions' and sub-item 'Notifications'
  4. Click Settings
  5. Check 'block new requests ~'

Firefox force new tabs to load in background

  1. Go to URL: about:config
  2. Search for the preference named browser.tabs.loadDivertedInBackground
  3. Change its value to true.

Firefox disable quick find

Shortcut "/" brings up "Quick find" which can be quite annoying if you want tu use this character.

  1. Go to URL: about:config
  2. Search for the preference named accessibility.typeaheadfind
  3. Search for the preference named accessibility.typeaheadfind.autostart
  4. Search for the preference named accessibility.typeaheadfind.manual
  5. Change all these values to false.

Firefox on-video picture-in-picture button

If you hover over the video, the picture-in-picture button becomes visible. This, however, is suppressed for short videos. I found that streaming videos need to run for the duration before the button becomes available. You can lower this value here.

  1. Go to URL: about:config
  2. Search for the preference named media.videocontrols.picture-in-picture.video-toggle.min-video-secs
  3. default value is 45, lower this to for example 1

Usage

Find bookmark in folder structure

  1. Open the website the bookmark points to
  2. Click the bookmark star-icon in the address-bar
  3. In the dialog you can see where the bookmark is located

Block functionality

Block images, popups banners and flash before they annoy you:

Ads

See also:

Script

Search

Add right-click search engines

Make search functionality available in the Search Bar with Add to Search bar

The search engine's URL can be customized to your wishes. I made changes to IMDB search to jump to the best match immediately, instead of showing all possible matches. This trick uses Google's 'Im+Feeling+Lucky' function. First make sure you have the IMDB search engine and then modify it following beneath example.

gedit /home/$USER/.mozilla/firefox/*.default/searchplugins/imdb.xml
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/"
 xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
  <os:ShortName>IMDb</os:ShortName>
  <os:Description>IMDb</os:Description>
  <os:InputEncoding>ISO-8859-1</os:InputEncoding>
  <os:Image width="16" height="16">data:image/png;base64,icon_image_data_here</os:Image>
  <SearchForm>http://www.google.com/search</SearchForm>
  <os:Url type="text/html" method="GET" template="http://www.google.com/search">
    <os:Param name="btnI" value="Im+Feeling+Lucky"/>
    <os:Param name="q" value="IMDB+{searchTerms}"/>
  </os:Url>
</SearchPlugin>

Context Search Menu

Context Search expands the context menu's 'Search for' item into a list of installed search engines, allowing you to choose the engine you want to use for each search.

Development

Debugging JavaScript in your webpages

Firebug