Skip to content
Henryk Paluch edited this page May 2, 2024 · 3 revisions

Firefox

My notes regarding Firefox browser.

How to enable scrollbars and arrows

New Firefox follows painful trend to hide scrollbars and even when they appear there are now arrow buttons, making it really bad when mouse-wheel does not work...

To correct this (at least on Linux) you have to:

Please note that in my case it does not help to set System Settings -> Appearance -> Show scroll bars. in Firefox Settings.

Logging DNS requests

Firefox is surprisingly active even before you start browsing. To get at least some clue what is is happening I adapted Windows approach from: https://superuser.com/questions/1104255/is-it-possible-to-see-the-dns-resolving-query-in-firefox-developer-tools to Linux using least possible level of logging.

Here is my script ~/bin/firefox-logging-dns.sh

#!/bin/bash
set -xeuo pipefail
NSPR_LOG_FILE=$HOME/tmp/firefox-dns-`date '+%s'`.log \
	NSPR_LOG_MODULES=timestamp,nsHostResolver:1 \
	/usr/bin/firefox "$@"
exit 0

When you run it, list log files sorted by date using ls -lrt ~/tmp/ Then I simply filter log like this:

tail -f ~/tmp/firefox-dns-XXXXXXXX.log.moz_log | fgrep 'Calling getaddrinfo for host'

And watch it - for example when you visit some simple web page...

  • here is example when I visit https://gitlab.com
    awk '/Calling getaddrinfo for host/{print $NF}' xxxxxxx.log | tr -d '][' | sed 's/\.$//'
    
    gitlab.com
    about.gitlab.com
    cdn.cookielaw.org
    geolocation.onetrust.com
    cdn.bizible.com
    munchkin.marketo.net
    extend.vimeocdn.com
    images.ctfassets.net
    player.vimeo.com
    capture.navattic.com
    fresnel.vimeocdn.com
    i.vimeocdn.com
    f.vimeocdn.com
    ocsp.pki.goog
    www.googletagmanager.com
    s.swiftypecdn.com
    capture.navattic.com
    epsilon.6sense.com
    ocsp.r2m03.amazontrust.com
  • please note that there is no guarantee that all DNS requests are shown - rather estimate.

Private lapses

On GNOME based Linux Firefox happily uses system geoclue service to know your location.

Additional privacy concerns are from Gentoo:

Normandy:

Clone this wiki locally