====== Firefox ======
===== Addons =====
* [[mozilla>Labs/Weave|Weave]] ([[https://people.mozilla.com/~cbeard/weave/dist/|install]], [[http://labs.mozilla.com/2007/12/introducing-weave/|introducing weave]]). \\ Client installation note: you should import the CA self-signed certificate. \\ Server installation: [[mozilla>Labs/Weave/0.3/Setup/Server|setup 3.0 server]] (see [[https://labs.mozilla.com/forum/comments.php?DiscussionID=4907#Comment_12126|note1]], [[https://labs.mozilla.com/forum/comments.php?DiscussionID=4912#Comment_12201|note2]], [[https://labs.mozilla.com/forum/comments.php?DiscussionID=4949#Comment_12373|note3]]) (replaces [[http://remcobressers.nl/2008/07/create-your-own-mozilla-weave-server/|create your weave server]]) \\ Weave replaces:
* [[http://www.google.com/tools/firefox/browsersync/|Google Browser Sync]]
* [[https://addons.mozilla.org/en-US/firefox/addon/2367|Bookmark Sync and Sort]]
* [[firefox>ublock|µBlock]]
* [[firefox>adblock-plus|Ad Block Plus]] ([[http://adblockplus.org/|site]])
* [[github>gorhill/uBlock/wiki/uBlock-vs.-ABP:-efficiency-compared|µBlock vs. ABP: efficiency compared]]
* [[lifehackeru>2015/03/05/zamena-adblock-plus|Чем заменить Adblock Plus, если он продастся или будет принудительно закрыт]]
* [[http://my-chrome.ru/2015/04/ublock-origin/|Блокировщик рекламы uBlock разделился на два проекта]]
* [[firefox>screengrab-fix-version|ScreenGrab]] ([[http://www.screengrab.org/|site]]) saves webpages as images.
* [[http://www.nexisonline.net/index.php/2016/07/20/screengrab-clean-edition/|ScreenGrab Ad-free version]]
* [[firefox>tree-style-tab|Tree Style Tab]] shows tabs like a tree on the side.
* [[firefox>FF_Fullscreen|FF Fullscreen]] hides all toolbars on fullscreen (not really needed for //Tree Style Tab// as it automatically hides tabs in full screen mode).
* [[http://www.gozer.org/mozilla/extensions/|Focus Last Selected Tab v0.9.6.2]] focuses the last selected tab when closing
* [[firefox>greasemonkey|Greasemonkey]] ([[http://www.greasespot.net/|site]])
* [[http://wiki.greasespot.net/Greasemonkey_Manual:API|Greasemonkey API Manual]]
* [[http://www.briandonovan.info/articles/public/gm-dom-xpath-01/|Substituting XPath for DOM tree walking in Greasemonkey User Scripts]]
Stick to v3.17 as v4.0+ uses Firefox local storage (SQL DB) for scripts, which requires migration.
* [[firefox>firebug|Firebug]]
* [[firefox>|firepath|Firepath]]
* [[http://chrispederick.com/work/web-developer/|Web Development]] (//replaced by Firebug//)
* [[firefox>dom-inspector-6622|DOM Inspector]] (//replaced by Firebug//)
Firebug 2 doesn’t work in multi-process browsers (i.e. e10s) and converting it is too complex, so it will stop working when e10s is activated in Firefox. You will be able to disable e10s for a while to keep using Firebug 2, but this won’t last forever. [[https://hacks.mozilla.org/2017/10/saying-goodbye-to-firebug/|Say Goodbye to Firebug]]...
* [[firefox>about-addons-memory|about:addons-memory]] provides an experimental ''about:'' page for advanced users to display some memory usage statistics about their add-ons.
* [[firefox>jsonview|JSONView]] view JSON documents in the browser
* [[firefox>httprequester|HttpRequester]] -- REST client
* [[firefox>poster|Poster]] lets you make HTTP requests, set the entity body, and content type.
* [[firefox>clean-links/|Clean Links]] can be used to convert "obfuscated" and/or nested links to genuine/normal plain clean links. \\ Settings:
accounts.google.com, docs.google.com, translate.google.com, login.live.com, plus.google.com, www.facebook.com, twitter.com, static.ak.facebook.com, www.linkedin.com, www.virustotal.com, account.live.com, admin.brightcove.com, www.mywot.com, webcache.googleusercontent.com, web.archive.org, accounts.youtube.com, signin.ebay.com, www.centurion.link, login.aliexpress.com, message.aliexpress.com, customerservice.greenwheels.com, stackoverflow.com, jira.internal.epo.org, www.centurion.link, www.marktplaats.nl
background:rgba(175,236,237,0.3)
Original: background:rgba(252,252,0,0.6); color: #000
* [[github>buunguyen/octotree/#octotree|Octotree]] – browser extension to display GitHub code in tree format.
* [[firefox>chatzilla|ChatZilla]] -- IRC client
* [[firefox>keefox|KeeFox]] ([[http://keefox.org/download|KeeFox]]) -- a bridge between Firefox and [[security#keepass|KeePass]].
* [[stackoverflow>24800699|Using KeeFox with multiple Firefox profiles]]
* [[http://lechnology.com/software/keeagent/usage/tips-and-tricks/|KeeAgent]] allows to extract private key and pass it to SSH client ([[github>babun/babun/issues/290#issuecomment-257630717|setup agent socket for Cygwin SSH client]])
* [[github>islog/keepassrfid|KeePassRFID]] -- RFID / NFC plugin to use your contactless card as a new key provider.
* [[firefox>select-like-a-boss|Select like a Boss]] -- [[habrahabr>249091|расширение для нормального выделения текста внутри ссылки в браузерах]]
* [[firefox>media-hint|Media Hint]] -- allows you to access internet media streaming services like Hulu, Netflix and Pandora from anywhere in the world.
* [[firefox>coupons-at-checkout|Coupons at Checkout]] ([[http://couponfollow.com/checkout|site]]) -- shows you coupon codes during your checkout process automatically.
* [[firefox>pictutools|PictuTools]] -- quick and easy access to online image manipulation tools.
* [[firefox>clearly|Evernote Clearly]] -- makes blog posts, articles and webpages clean and easy to read / export to PDF.
* [[https://chrome.google.com/webstore/detail/save-content-to-box-googl/iplagehfoafmmjppeijnpkohihcllici|CleanPrint for Chrome]] -- lets you easily edit and save webpage content to Box, PDF, Google Docs, Google Drive, Dropbox, or print
* [[https://www.reddit.com/r/firefox/comments/bkspmk/addons_fix_for_5602_older/|Addons fix for 56.0.2 & older]] (see [[https://blog.mozilla.org/addons/2019/05/04/update-regarding-add-ons-in-firefox/comment-page-1/|Add-ons disabled or failing to install in Firefox]])
===== Configuration =====
=== [[http://www.techmalaya.com/2008/01/17/6-tips-to-supercharge-mozilla-firefox-with-middle-mouse-button/|6 Tips to Supercharge Mozilla Firefox with Middle Mouse Button]] ===
* ''middlemouse.paste=true''
* ''mousewheel.withaltkey.action=1''
=== [[http://mozillalinks.org/wp/2006/10/firefox-2-tweaks-tab-browsing/|Tab browsing]] ===
For horizontal tabs:
* ''browser.tabs.closeButtons=3''
* ''browser.tabs.selectOwnerOnClose=false''
* ''browser.tabs.maxOpenBeforeWarn=30''
With [[firefox>tree-style-tab|Tree Style Tab]] plugin:
* ''browser.tabs.closeButtons=2''
=== Enable MRU tab switching behaviour instead of jumping always forth (or back) ===
* ''browser.ctrlTab.previews=true''
=== Network tweaks ===
* ''network.http.proxy.pipelining=true''
* ''network.http.pipelining=true''
* ''network.http.pipelining.maxrequests=8''
* ''browser.cache.use_new_backend=1''
References:
* [[http://www.tweakfactor.com/articles/tweaks/firefoxtweak/4.html|Network tweaks]]
* [[http://ru.gentoo-wiki.com/wiki/%D0%A2%D1%8E%D0%BD%D0%B8%D0%BD%D0%B3_%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B5%D0%BA_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC_%D0%B8%D0%B7_%D1%81%D0%B5%D0%BC%D0%B5%D0%B9%D1%81%D1%82%D0%B2%D0%B0_Mozilla|Mozilla tuning]]
* [[lifehacker>speed-up-firefox-by-enabling-its-new-http-cache-1570488335|Speed Up Firefox By Enabling Its New HTTP Cache]]
=== [[http://www.makeuseof.com/tag/speed-up-firefox-immediately-with-these-6-simple-tweaks/|Remove Built-in Firefox Addons]] ===
* ''reader.parse-on-load.enabled=false''
* ''reader.parse-on-load.force-enabled=false''
* ''browser.pocket.enabled=false''
* ''loop.enabled=false''
=== [[superuser>1096974|How to force multiprocess mode in FF v53?]] ===
By default [[https://developer.mozilla.org/en-US/Add-ons/Install_Manifests#multiprocessCompatible|FF v51-53 checks]] that no plugin declares ''false'' in its manifest. To disable this check set ''extensions.e10sBlockedByAddons=false'' and verify on ''about:support'' that //Multiprocess Windows// is //1/1 (Enabled by default)// or //1/1 (Enabled by user)// (and not //0/1 (Disabled by add-ons)//).
See additionally on multiprocess mode:
* [[https://blog.mozilla.org/addons/2017/02/16/the-road-to-firefox-57-compatibility-milestones/|The Road to Firefox 57]]
* [[https://developer.mozilla.org/en-US/Add-ons/Working_with_multiprocess_Firefox|Working with multiprocess Firefox]]
* [[https://medium.com/mozilla-tech/the-search-for-the-goldilocks-browser-and-why-firefox-may-be-just-right-for-you-1f520506aa35#920a|Firefox multiple content processes]]
* ''dom.ipc.processCount=4''
=== [[http://cdivilly.wordpress.com/2013/08/15/disable-firefox-redirecting-to-localhost-com/|Disable Firefox redirecting to localhost.com]] ===
To disable Firefox redirection to ''www.localhost.com'' when one types ''lcoalhost'' set ''browser.fixup.alternate.enabled=false''
=== Increase JavaScript execution time ===
* ''dom.max_script_run_time=30''
=== How to enable spellcheck for all input fields? ===
Change the setting for ''layout.spellcheckDefault'' from 0 to 1 to enable spell checking in all ''
=== "The page is not redirecting properly" error ===
As from [[mozillazine>The_page_is_not_redirecting_properly|The page is not redirecting properly]] just remove cookies associated with failing domain.
=== After the update to FF v22 everything is zoomed in ===
* From [[http://support.mozilla.org/en-US/questions/959762|After the update everything is zoomed in. How do I revert this?]]: \\
Set the value of ''layout.css.devPixelsPerPx'' preference to value e.g. ''1.2''.
* From [[https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages|Control the zoom for all web pages at once]]:\\
Install [[https://addons.mozilla.org/en-US/firefox/addon/nosquint/|NoSquint]]
=== [[https://support.mozilla.org/en-US/questions/951495#answer-458397|How to disable plugin check]] ===
Set:
* ''%%plugins.update.url=""%%''
* ''plugins.hide_infobar_for_outdated_plugin=true''
* Create new ''boolean'' variable ''extensions.checkCompatibility.17.0=false'' (use your current FF version number)
=== [[https://support.mozilla.org/en-US/questions/1166173|How do I email a link of the current page?]] ===
There are two options:
* ''File -> Email Link...''
* ''Customize'' toolbar and add ''Email a link to this page'' button to it.
=== ABN AMRO e.identifier plugin does not work with FF v22 ===
This is true: plugin does not work for latest versions of FF. See [[https://support.mozilla.org/en-US/questions/966723|ABNAMRO Indentifier don't operate with the last version of Firefox]] and [[https://support.mozilla.org/en-US/questions/964083|Sinds ik de nieuwste update heb geinstalleerd, werkt de ABN AMRO e.dentifier2 plug-in 0.1.0.4 niet meer]].
Updates:
* FF v33 works fine.
* //2017-05-20//: ''readme.txt'' for plugin v3.10 from June 2016 reads that it supports Firefox v45 and higher, but note that Firefox v52 ESR ×32 is the [[https://support.mozilla.org/en-US/kb/npapi-plugins|last Firefox that supports NPAPI plugins]].
=== [[https://support.mozilla.org/en-US/questions/966369|Firefox does not play sound in any HTML5 player]] ===
The simplest is to [[https://www.youtube.com/html5|switch off HTML5 in YouTube]] and play via Flash.
=== How to enable SSO in Firefox? ===
Set:
* ''%%network.negotiate-auth.trusted-uris=http://, https://%%''
* ''%%network.negotiate-auth.delegation-uris=http://,https://%%''
On Windows this setting should be enough to use your [[wp>Active Directory|AD]] credentials. On Linux you need to have valid Kerberos ticket, which can be obtained using the command ''kinit -pkt /path/to/file.keytab id@domain.org'' (see ''man kinit'').
See also:
* [[http://grolmsnet.de/kerbtut/firefox.html|Using build-in kerberos authentication]]
* [[wp>Integrated_Windows_Authentication#Supported_browsers|IWA supported browsers]]
=== How to disable SSLv3 in FF? ===
Set ''security.tls.version.min=1''.
See also:
* [[http://kb.mozillazine.org/Security.tls.version.*|security.tls.version.(min,max)]]
* [[https://blog.mozilla.org/security/2014/10/14/the-poodle-attack-and-the-end-of-ssl-3-0/|The POODLE Attack and the end of SSL 3.0]]
* [[linux#how_to_list_all_ssl_ciphers|How to list all SSL ciphers?]]
=== If Firefox has crashed and session was not restored, how to recover it? ===
* Make a copy of ''sessionstore-backups'' directory (if something goes wrong with recovery, you can always retry).
* Close Firefox.
* Copy ''sessionstore-backups\recovery.bak'' to Firefox profile directory with a name ''sessionstore.js'' (FF 45.0.1) or ''sessionrestore.js'' (older FF versions).
* Start Firefox.
Firefox v53-56 fails to correctly convert sessions to new JSONLZ4 format. Before upgrading:
* Backup ''sessionstore-backups'' folder.
* Install Firefox, start Firefox, close Firefox.
* Copy ''sessionstore-backups\recovery.bak'' (or ''sessionstore-backups\recovery.js'' -- check which one has more recent modification date) from backup made on step 1 to ''sessionstore.js''.
* Remove ''sessionstore-backups\recovery.*'', ''sessionstore-backups\previous.jsonlz4'' and ''sessionrestore.jsonlz4''.
* Start Firefox.
See [[https://support.mozilla.org/en-US/questions/1173678|Convert sessionstore.js to sessionstore.jsonlz4]] for more details.
Use [[https://www.jeffersonscher.com/res/scrounger.html|Scrounger]] to extract links from plain JS or JSONLZ4 format and overwrite ''sessionstore.js'' after stopping Firefox, check [[https://support.mozilla.org/en-US/questions/1189759#answer-1068259|Firefox restore a previous session]].
More:
* [[https://support.mozilla.org/en-US/questions/1081486|Files in the "sessionstore-backups" folder]].
* [[http://kb.mozillazine.org/Session_Restore|Session Restore settings]]
=== [[superuser>945887|Rewrite browsing history and sessions after website changes domain]] ===
SQL script to execute over ''places.sqlite'':
.open places.sqlite
delete from moz_places where instr(url,'broken.com') > 0;
update moz_places set url = replace(url,'my.com','my.org');
update moz_places set url = replace(url,'my.edu','my.org');
CMD script to apply changes to Firefox places (path to profile should be corrected correspondingly):
set PROFILE=%APPDATA%\Mozilla\Firefox\Profiles\default
copy %PROFILE%\places.sqlite places.sqlite
copy places.sqlite places.sqlite.orig
sqlite3.exe < places.sql
move places.sqlite %PROFILE%\places.sqlite
''sqlite3.exe'' can be downloaded from [[https://www.sqlite.org/download.html|here]].
=== How to re-enable copy-paste on the form element that has this disabled? ===
Taken from [[http://www.pcc-services.com/kixtart/firefox-lockdown.html|this page]]: set ''dom.event.contextmenu.enabled=false'', however it will break functionality for sites like Google Docs.
\\
Other tips:
* [[mozillazine>Links_to_local_pages_don%27t_work|Enable support for links to local resources]]
* [[http://mozillalinks.org/wp/2007/12/customize-firefox-blank-page/|Customize Firefox blank page]]
* [[habrahabr>148291|Укрощаем 14-го "лиса": правильные настройки по умолчанию]]
* [[lifehacker>380905/turn-off-vistas-auto+tuning-to-prevent-browser-slow+down|Turn Off Vista's Auto-Tuning to Prevent Browser Slow-Down]]
* [[habrahabr>90130|Using combined RU-EN dictionary]]
* [[mozillazine>Adobe_Reader#Disabling_the_browser_plugin|Disable Adobe Acrobat Reader Plugin]]
* [[http://support.mozilla.org/en-US/kb/adobe-flash-plugin-has-crashed|Adobe Flash plugin has crashed – Prevent it from happening again]] \\
Advise is: [[http://www.adobe.com/products/flashplayer/distribution3.html|update your Adobe Flash plugin]].
* [[http://www.mozilla.org/en-US/plugincheck/|Check your plugin suit]]
* [[http://www.java.com/en/download/testjava.jsp|Test your Java plugin]]
* [[mozillazine>Profile_folder_-_SeaMonkey|Profile folder description]]
* [[mozillazine>Plugin_scanning|How plugins are detected]]
* [[http://www-archive.mozilla.org/projects/firefox/extensions/commandlineoptions.html|Extensions Command Line Options]]
* [[http://www.youtube.com/html5|Enable HTML5 on YouTube]]
Memory leaks:
* [[habrahabr>115695|Течёт Firefox? Убейте Firebug!]]
* [[habrahabr>143580|Добей зомби, помоги лисичке]]
* [[habrahabr>150919|В Firefox 16 заработает инкрементальный сборщик мусора]]
Other forks:
* [[superuser>1257267|Firefox fork that allows to use old addons but still keeps new vulnerabilities patched in time]]
* [[http://www.palemoon.org/technical.shtml#Firefox_Differences|Palemoon]] is Gecko-based browser that aims to strike a balance between features and speed.
{{tag>Firefox browser SPNEGO Kerberos spellcheck dictionary greasemonkey web_development POODLE}}