====== Browser ======


===== Firefox (Vanilla) =====

Pure firefox.

Check also https://wiki.archlinux.org/title/Firefox/Privacy and https://wiki.archlinux.org/title/Firefox/Tweaks.

==== Package ====

<code>
pacman -S firefox
</code>

==== user.js ====

  - Start Firefox
  - Create a new profile named hardened in ''about:profiles''
    - set it as default
    - close firefox
  - Go to ''~/.mozilla/firefox/'' and look for ''xxxxxxxx.hardened''
    - copy the full name
    - delete the folder.
  - Download the latest version of arkenfoxs user.js at https://github.com/arkenfox/user.js/releases
    - extract it
    - rename it to your copied name ''xxxxxxxx.hardened''
    - move the extracted folder to ''~/.mozilla/firefox/''.
  - Start firefox

You can also create your own user.js file at https://ffprofile.com/.

=== Override user.js ===

The following example is based on session recovery being enabled again. If you have pinned tabs or working on something, this can be very helpful. Every time you close your browser and start it again, it is back the way you left it.

If you use searx on your own [[en:desktop:services:searxng|computer]]/[[en:server:services:searxng|server]], you can also enable keywords for the URL bar to search for something instead of the search bar. This also saves more space.

  - Close firefox
  - Create a ''user-overrides.js'' file in ''~/.mozilla/firefox/xxxxxxxx.hardened/'' with the following content:

<code>
// Enable session restore
user_pref("browser.startup.page", 3);
user_pref("browser.sessionstore.privacy_level", 0);
user_pref("privacy.clearOnShutdown.history", false);
user_pref("privacy.cpd.history", false);

// Enable search in url bar
user_pref("keyword.enabled", true);
</code>

Check also [[https://github.com/arkenfox/user.js/wiki/3.2-Overrides-[Common]|Overrides [Common]]].

Follow the [[/en/desktop/services/browser#updates_of_firefoxarkenfox_and_changes_of_the_user-overridesjs_file|next step]].


==== Updates of Firefox/arkenfox and changes of the user-overrides.js file ====

  - Close Firefox
  - Go to ''~/.mozilla/firefox/xxxxxxxx.hardened/''
    - If you have not done it yet:
      - ''chmod +x prefsCleaner.sh updater.sh''
  - Run 
    - ''./prefsCleaner.sh''
    - ''./updater.sh''
  - Start firefox


===== Librewolf =====
 
[[https://librewolf.net/|LibreWolf]] is designed to increase protection against tracking and fingerprinting techniques, while also including a few security improvements. This is achieved through our privacy and security oriented settings and patches. LibreWolf also aims to remove all the telemetry, data collection and annoyances, as well as disabling anti-freedom features like DRM.

It's a user friendlyer solutions instead of using user.js.

==== Package ====

<code>
pikaur -S librewolf-bin
</code>

===== Add-ons for Firefox, Librewolf & Iceraven (Android) =====

A few examples of how you can achieve more privacy and other helpful extensions.

  * [[https://addons.mozilla.org/en-US/firefox/addon/canvasblocker/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search|CanvasBlocker]] (Alters some JS APIs to prevent fingerprinting.)
  * [[https://addons.mozilla.org/en-US/firefox/addon/clearurls/|ClearURLs]] (Remove tracking elements from URLs.)
  * [[https://addons.mozilla.org/en-US/firefox/addon/custom-new-tab-page/|Custom New Tab Page]] (Specify a custom URL to be shown when opening a new tab, without changing the address bar content) - helpful for using homer, frame or whatever
  * [[https://addons.mozilla.org/en-US/firefox/addon/darkreader/|Dark Reader]] (Dark mode for every website. Take care of your eyes, use dark theme for night and daily browsing.)
  * [[https://addons.mozilla.org/en-US/firefox/addon/floccus/|floccus]] bookmarks sync (Sync your bookmarks privately across browsers and devices) - using nextcloud or webdav
  * [[https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/|KeePassXC-Browser]] (KeePassXC integration for modern web browsers)
  * [[https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/|LocalCDN]] (Protects you against tracking through CDNs (Content Delivery Networks) by redirecting to local resources.)
  * [[https://addons.mozilla.org/en-US/firefox/addon/privacy-redirect/|Privacy Redirect]] (Redirects Twitter, YouTube, Instagram and more to privacy friendly alternatives.)
  * [[https://addons.mozilla.org/en-US/firefox/addon/switchyomega/|Proxy SwitchyOmega]] (Manage and switch between multiple proxies quickly & easily.)
  * [[https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/|uBlock Origin]] (Finally, an efficient blocker. Easy on CPU and memory.)
  * [[https://addons.mozilla.org/en-US/firefox/addon/noscript/|NoScript Security Suite]] (Disables javascript.)
  * [[https://addons.mozilla.org/de/firefox/addon/amp2html/|Redirect AMP to HTML]] (Automatically redirects AMP pages to the regular web page variant.)


===== TOR - browser =====
 
Protect yourself against tracking, surveillance, and censorship.

==== Package ====

<code>
pacman -S torbrowser-launcher
</code>

==== Add-ons ====

You should not install any additional add-ons on Tor Browser because that can compromise some of its privacy features.

More at [[https://support.torproject.org/glossary/add-on-extension-or-plugin/|support.torproject.org]] 


===== Pale Moon =====

Pale Moon is an Open Source, Goanna-based web browser completely built from its own, independently developed source that has been forked off from Firefox/Mozilla code a number of years ago, and focuses on efficiency and ease of use by carefully selecting features and optimizations to improve the browser's stability and user experience, while offering full customization and a growing collection of extensions and themes to make the browser truly your own.

Pale Moon aims to provide close adherence to official web standards and specifications in its implementation (with minimal compromise), and purposefully excludes a number of features to strike a good balance between general use, performance, and technical advancements on the Web.

With the current generation of mainstream browsers, there are also more obvious and not just "under the hood" differences: Pale Moon will continue to provide grouped navigation buttons of a decent size, a bookmarks toolbar that is enabled by default, tabs next to page content by default (easily switchable) and not in the least a functional status bar and more freedom in customization, to name a few things.

Check https://blackgnu.net/palemoon-hardening.html for a privacy guide.

==== Package ====

<code>
pikaur -S palemoon-bin
</code>

===== Browser leak test =====

  * https://arkenfox.github.io/TZP/tzp.html
  * https://browserleaks.com/
  * https://coveryourtracks.eff.org/
  * https://amiunique.org


