Grimoire-Command.es

To content | To menu | To search

Tag - Firefox

Entries feed

2018-02-09

List web page links in Firefox

Lister les liens d'une page web dans Firefox

F12 [1]
javascript:document.querySelectorAll('a').forEach(console.log) [2]

Notes

[1] To pop up the inspector and access the console

[2] This line can be the link of a bookmark

2017-11-21

Proxy Firefox to distant machine via SSH not to expose HTTP traffic

Rediriger les requêtes de Firefox vers une machine distante via SSH pour ne pas exposer son trafic HTTP sur un WiFi local par exemple

  1. ssh -2NfCT -D 8080 distant-machine.tld [1]
  2. In Firefox, open about:preferences URL in a new tab ; search socks ; set socks v5 proxy line to host: localhost ; port: 8080 [2]

Just using TorBrowser is also an excellent choice.

Notes

[1] autossh command instead of just ssh maintains SSH connections open all the time

[2] If it works you expose distant-machine.tld IP address to the internet and a lot of websites can help you to check it.

2017-11-16

Install Firefox 57 (alias Quantum) on Debian stable Stretch

Installer Firefox 57 (alias Quantum) sur Debian stable Stretch

echo 'deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free' >> /etc/apt/sources.list
echo 'deb http://ftp.fr.debian.org/debian/ sid main contrib non-free' >> /etc/apt/sources.list
echo 'deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free' >> /etc/apt/sources.list
apt update
aptitude install firefox=57.0~b9-1
head -n -3 /etc/apt/sources.list > /tmp/sources.list
mv /tmp/sources.list /etc/sources.list