Firefox

From Omnia
Revision as of 14:08, 25 April 2017 by Kenneth (talk | contribs) (→‎spell check any field)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

New Installation Configuration

Options - Downloads

  • [X] Show the Downloads window when downloading a file
    • [X] Close it when all downloads are finished
  • [*] Always ask me where to save files

about:config

  • layout.spellcheckDefault = 2 # spell check any field
  • browser.tabs.insertRelatedAfterCurrent = false # new tabs at end

Extentions:

Extensions

Mandatory

Adblock Plus

Session Manager

Common

Last Tab Close Button - Shows the "Close" button on the last tab in Firefox

"Anyone using the newer releases of Firefox will notice that the Close Button has disappeared from the tab if it is the only (or last) one open. Right clicking on the tab will also show that the option to close the tab is grayed out. Very frustrating if this is something that you have been using on a daily basis while browsing. Time to fix that little problem!"

Development

Firebug :: Firefox Add-ons

"Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page"

---

Html Validator :: Firefox Add-ons

"HTML Validator is a Mozilla extension that adds HTML validation inside Firefox and Mozilla. The number of errors of a HTML page is seen on the form of an icon in the status bar when browsing.
The extension can validate the HTML sent by the server or the HTML in the memory (after Ajax execution)"

FireShot

FireShot

FireShot is a Firefox extension that creates screenshots of web pages.

New Tab Override

To show bookmarks on new tab page

1) add New Tab Override addon:

https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/developers

2) Set url to bookmarkspanel:

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

Set the url to:

chrome://browser/content/bookmarks/bookmarksPanel.xul

Old

Certificate Viewer

Cert Viewer Plus

Enhancements to the certificate viewer (file export, PEM format view)
Now included swith firefox 3.0

No Tooltip Timeout

No Tooltip Timeout :: Add-ons for Firefox - https://addons.mozilla.org/en-US/firefox/addon/no-tooltip-timeout/

Useful for sites like xkcd

Show Bookmarks in New Tab Page

To show bookmarks on new tab page

1) Add Stylish addon:

https://addons.mozilla.org/en-US/firefox/addon/stylish/?src=external-userstyleshome

2) Add "Show BookMark bar only on new tab page addon:

https://userstyles.org/styles/125737/show-bookmark-bar-only-on-new-tab-page

Note: The new tab page doesn't have a URL, so the style won't work, so let's fix that:

3) add New Tab Override addon:

https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/developers

4) Set url to something:

http://www.google.com
about:blank

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

chrome://browser/content/bookmarks/bookmarksPanel.xul

5) Modify the style to include this new url: (from manage stylish styles)

:not([stylish-url="https://www.google.com/"])
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

#main-window:not([stylish-url^="about:"]):not([stylish-url^="chrome:"]):not([stylish-url="https://www.google.com/"]) #PersonalToolbar
{
  display : none !important;
}

spell check any field

Source: Firefox: spell check any field | Josh Highland's Blog

1. type this in the browser address bar “about:config”

2. look for “layout.spellcheckDefault”

3. change the value to “2″

4. restart firefox

Spell Check Dictionary

Custom user dictionary:

%APPDATA%\Mozilla\Firefox\Profiles\[PROFILE]\persdict.dat

Remove misspelled words from your Firefox dictionary - http://lifehacker.com/244497/remove-misspelled-words-from-your-firefox-dictionary

New Tab Order

browser.tabs.insertRelatedAfterCurrent = false

Security on Opening Local File Links

prefs.js\prefs.js:

user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
user_pref("capability.policy.localfilelinks.sites", "http://tivo.t0e.org http://tivo");
user_pref("capability.policy.policynames", "localfilelinks");


Links to local pages do not work - MozillaZine Knowledge Base:

  • LocalLink
    • "The LocalLink extension allows overriding the security check per click: links to local pages can be followed using the context menu for the link."
  • Firefox 1.5, SeaMonkey 1.0 and newer
    • "In the most recent versions of these browsers, the old global preference has been removed. Instead, the checkloaduri preference has been combined with the CAPS interface so you can change the setting on a per-site basis with Security Policies. For example, to allow a certain domain to bypass the checkloaduri restriction, this could be added to user.js or prefs.js:"
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://www.example.com");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
  • UNC Paths
    • "If you're linking to a file in a UNC path (e.g., \\servername\share\file.ext), you will need to specify the path thusly:"
file://///servername/share/file.ext


mozdev.org - locallink: index

New Process

Windows:

set MOZ_NO_REMOTE=1
firefox -ProfileManager

Linux running bash:

export MOZ_NO_REMOTE=1
firefox -ProfileManager


MOZ_NO_REMOTE=1
firefox -ProfileManager
firefox -ProfileManager -no-remote

DSOCKS

See SSH#SSH-D Proxy


Secure Firefox traffic (+DNS) through SOCKS proxy [1]

about:config
  network.proxy.socks_remote_dns;true

SSL Exceptions

Check the Servers tab in the Certificate Manager?

   Edit > Preferences > Advanced > Certificates: View Certificates 

keywords