82 lines
2.9 KiB
Org Mode
82 lines
2.9 KiB
Org Mode
:PROPERTIES:
|
|
:ID: cce/a_basic_firefox_installation
|
|
:ROAM_ALIASES: Firefox
|
|
:END:
|
|
#+TITLE: A Basic Firefox Installation
|
|
#+filetags: :CCE:
|
|
#+ARROYO_MODULE_WANTS: cce/configure_packaging.org
|
|
|
|
#+PROPERTY: header-args :mkdirp yes :results none
|
|
#+PROPERTY: header-args:emacs-lisp :tangle firefox.el
|
|
#+PROPERTY: header-args:yaml :tangle roles/endpoint/tasks/firefox.yml
|
|
|
|
#+ARCOLOGY_KEY: cce/firefox
|
|
|
|
#+ARROYO_EMACS_MODULE: firefox
|
|
|
|
#+begin_src emacs-lisp
|
|
(provide 'cce/firefox-installation)
|
|
#+end_src
|
|
|
|
I use Firefox everywhere, except for YouTube [[File:../Video.org][Videos]], as explained in [[id:cce/web_browsing][Web Browsing]], and here is how to use it in Emacs:
|
|
|
|
#+begin_src emacs-lisp
|
|
;(setq browse-url-generic-program (executable-find "mpv"))
|
|
;; nothing to see here.....
|
|
(set
|
|
(if (> emacs-major-version 27)
|
|
'browse-url-handlers
|
|
'browse-url-browser-function)
|
|
'(;; ("https?://\\(www.\\)?youtu.?be\\(.com\\)?/" . browse-url-generic)
|
|
("." . browse-url-firefox)))
|
|
#+end_src
|
|
|
|
It's installed from distribution packages.
|
|
|
|
#+begin_src yaml
|
|
- name: firefox installed
|
|
apt:
|
|
state: present
|
|
name: firefox
|
|
when: ansible_pkg_mgr == "apt"
|
|
tags:
|
|
- firefox
|
|
|
|
- name: firefox installed
|
|
dnf:
|
|
state: installed
|
|
name: firefox
|
|
when: ansible_pkg_mgr == "dnf"
|
|
tags:
|
|
- firefox
|
|
#+end_src
|
|
|
|
I eventually want to [[id:46688704-50f5-4736-951c-3017ba75acf6][reliably build Firefox extensions]] myself as part of an effort to harden my
|
|
system's third party code sources. I do keep a rule that the extensions that I use must be open
|
|
source, so building and distributing them myself should at least be minimally feasible.
|
|
|
|
Right now, I use the following extensions:
|
|
|
|
Features:
|
|
- [[https://github.com/shgysk8zer0/awesome-rss][Awesome RSS]]
|
|
- [[https://github.com/Aaron-P/SmartAmazonSmile][SmartAmazonSmile]]
|
|
- [[https://github.com/piroor/treestyletab/blob/master/README.md][Tree Style Tabs]]
|
|
- [[https://github.com/wallabag/wallabagger][Wallabagger]] for my [[id:3e8475ef-ff3a-4093-99f1-ef45b7e53707][Wallabag]] installation.
|
|
- [[https://web-scrobbler.github.io/][Web Scrobbler]]
|
|
- [[https://github.com/shgysk8zer0/youtube-subscribe-addon][Youtube Subscribe Addon]]
|
|
- [[id:cce/plasma_browser_integration][Plasma Browser Integration]]
|
|
|
|
Page UX:
|
|
- [[https://darkreader.org/][DarkReader]]
|
|
- [[https://add0n.com/stylus.html][Stylus]]
|
|
- [[https://www.tampermonkey.net/][TamperMonkey]]
|
|
- [[https://addons.mozilla.org/en-US/firefox/addon/yet-another-hints-extension/][Yet Another Hints Extension]] (YAHE) keyboard-based link-hinting
|
|
|
|
Privacy/Security:
|
|
- [[https://github.com/mozilla/contain-facebook][Facebook Container]] and [[https://github.com/mozilla/multi-account-containers][Container Tabs]] in general
|
|
- [[https://www.eff.org/https-everywhere][HTTPS Everywhere]]
|
|
- [[https://www.eff.org/privacybadger][Privacy Badger]]
|
|
- [[https://github.com/gorhill/uBlock][uBlock Origin]]
|
|
|
|
These will be expanded on as I see necessary in to their own pages.
|