From ac1b4cb713d9be5a8b43dc17672b4c9fc154b1cb Mon Sep 17 00:00:00 2001 From: emma Date: Fri, 16 Sep 2022 00:17:33 -0400 Subject: [PATCH] added firefox config page --- assets/style.css | 111 +++--- assets/warn.svg | 43 +++ firefox/index.html | 855 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 965 insertions(+), 44 deletions(-) create mode 100644 assets/warn.svg create mode 100644 firefox/index.html diff --git a/assets/style.css b/assets/style.css index 9d60cd2..d7ed4d4 100644 --- a/assets/style.css +++ b/assets/style.css @@ -1,8 +1,13 @@ @font-face { font-family: 'Ubuntu'; src: url('https://tebibyte.media/assets/fonts/ubuntu.ttf'); - url('https://tebibyte.media/assets/fonts/ubuntu.woff2'); - url('https://tebibyte.media/assets/fonts/ubuntu.woff'); + url('https://tebibyte.media/assets/fonts/ubuntu.woff2'); + url('https://tebibyte.media/assets/fonts/ubuntu.woff'); +} + +@font-face { + font-family: 'Ubuntu Mono Ligaturized'; + src: url('https://tebibyte.media/assets/fonts/UbuntuMonoLigaturized-Regular.ttf'); } * { @@ -21,28 +26,6 @@ background: #9d4e54; } -a:link { - transition-duration: 0.4s; - color: #9d4e54; - text-decoration: underline; - text-decoration-color: transparent; -} - -a:hover { - transition-duration: 0.4s; - color: #9d4e54; - text-decoration: underline; -} - -a:visited { - transition-duration: 0.5s; - color: #9d4e54; -} - -p { - text-align: justify; -} - body { background-color: #171614; color: #fafafa; @@ -53,12 +36,32 @@ body { flex-direction: column; } +a { + transition-duration: 0.4s; + color: #9d4e54; + text-decoration: underline; + text-decoration-color: transparent; +} + +a:hover { + text-decoration-color: #9d4e54; +} + +code { + font-family: 'Ubuntu Mono Ligaturized'; + word-break: break-all; +} + +p { + text-align: justify; +} + .back h5 { color: #9d4e54; text-align: left; } -.back a:link { +.back a { transition: 0.5s; padding: 0.15em; border-radius: 0.5em; @@ -66,21 +69,16 @@ body { } .back a:hover { - transition: 0.5s; color: #171614; background: #9d4e54; - padding: 0.15em; - border-radius: 0.5em; - text-decoration: none; } -.back a:visited { - transition: 0.5s; +/* +.config { padding: 0.15em; - outline: 0.15em solid #9d4e54; border-radius: 0.5em; - text-decoration: none; -} + background: #9d4e54; +} */ .content { display: flex; @@ -93,28 +91,53 @@ body { box-shadow: 1.5em 1.5em 3.5em #131211, -1.5em -1.5em 3.5em #1b1a17; } -.exposition { - flex-basis: 100%; +.header { + word-break: normal; } -#intro { +.header-full { text-align: center; } -#pronouns { - text-align: center; - font-size: 0.8em; -} - .section { margin: 1em; flex-basis: 45%; flex-grow: 1; } -.break { +.section-full { + margin: 1em; flex-basis: 100%; - height: 0; +} + +.warn { + margin: 0.5em 0; + padding: 0.5em; + display: inline-block; + color: #171614; + background: #9d4e54; + border-radius: 0.5em; +} + +.warn p { + margin: 0; + margin-right: 2em; + display: inline; +} + +.sym { + filter: invert(4%) sepia(23%) saturate(325%) hue-rotate(2deg) + brightness(96%) contrast(90%); + max-height: 1em; + margin-right: 0.5em; + margin-left: 1em; + margin-top: auto; + margin-bottom: auto; +} + +#pronouns { + text-align: center; + font-size: 0.8em; } /* diff --git a/assets/warn.svg b/assets/warn.svg new file mode 100644 index 0000000..174a13f --- /dev/null +++ b/assets/warn.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/firefox/index.html b/firefox/index.html new file mode 100644 index 0000000..d268e1e --- /dev/null +++ b/firefox/index.html @@ -0,0 +1,855 @@ + + + + Recommended Firefox Modifications + + + + + + + + + +
+
Return to my page
+
+
+
+

+ A Guide to Bettering Firefox +

+

+ Web browsers are kind of awful. They do too much + (why + would I want a combination image viewer/pdf reader/media + player/html renderer?), and as a result, + + they are bloated beyond belief. They strain developer + resources, require sandboxing because of the insane default that + JavaScript is arbitrarily executed, and yet, they're the most + prolific method of application distribution in the modern day. + Web browsers have become the most convenient place for many to + do their computing, so with this page, I'm trying to define a + more sane functionality for the browser I use—Firefox. +

+

Why Firefox?

+

+ I use Firefox because it is the easiest web browser from which + the kinds of modifications I need are available. If there were a + web browser that implemented these modifications as sane + defaults (and + I do plan on creating my own that does), I would + immediately switch to it; but until there is a satisfactory + browser, which can do what I want out of Firefox, I will stick + either with it or a fork of it like + + LibreWolf. +

+

+ If you don't want to use Firefox, then at least + + choose your browser carefully. +

+

+ In addition to the modifications and extensions listed here, my + script, + xdg-sanity, can be used to prevent your web + browser from being used to open remote content that has a MIME + type other than text/html. +

+
+
+

+ + Modifications to about:config + +

+

Read more about about:config + + here. +

+

+ These settings are advanced user settings, and I'm not + responsible for misconfigured browsers, broken web pages, or + thermonuclear war. +

+

+ Make any entries that do not have anything written for their + values blank. +

+ +

+ Performance +

+
    +
  • gfx.webrender.all = true
  • +
+ +

+ Disable or Enable Features +

+
    +
  • widget.use-xdg-desktop-portal = true
  • +

    Allows Firefox to use KDE Plasma filechooser on + GNU/Linux.

    + +
  • dom.event.contextmenu.enabled = false
  • +

    Prevents site from blocking the context menu from being + opened.

    + +
  • extensions.screenshots.disabled = true
  • +

    Disables redundant in-app screenshots.

    + +
  • browser.quitShortcut.disabled = true
  • +

    Disables ctrl+q quit shortcut.

    + +
  • reader.parse-on-load.enabled = false
  • +

    Disables reader mode.

    + +
  • + + services.sync.prefs.sync.extensions.activeThemeID = + false + +
  • +

    Prevents automatic application of themes on new + devices.

    +
+ +

+ Disable DRM +

+
    +
  • + media.gmp-widevinecdm.enabled = false +
  • + +
  • + media.gmp-widevinecdm.visible = false
  • +
+

+ Disable Pocket +

+

+ + Read more here + +

+
    +
  • + + browser.newtabpage.activity-stream.section.highlights.includePocket + = false + +
  • + +
  • + extensions.pocket.enabled = false +
  • + +
  • extensions.pocket.site
  • + +
  • + extensions.pocket.oAuthConsumerKey +
  • + +
  • extensions.pocket.api
  • + +
  • + + services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket + = false + +
  • +
+

+ Privacy +

+
    +
  • privacy.resistFingerprinting = true
  • +
    + +

    + Disables quality-of-life features such as automatic site + dark mode detection. +

    +
    + +
  • privacy.firstparty.isolate = true
  • +

    Restrict cache, storage, and cookies to the domain that + issued the data in them.

    + +
  • media.navigator.enabled = false
  • + +
  • geo.enabled = false
  • +
    + +

    + Disables location tracking. +

    +
    + +
  • browser.send_pings = false
  • +

    Disables browsers sending POST requests when you click a + link.

    + +
  • dom.netinfo.enabled = false
  • + +
  • beacon.enabled = false
  • + +
  • dom.enable_resource_timing = false
  • + +
  • + dom.event.clipboardevents.enabled = false +
  • +

    Prevents sites from being able to see what text you + copied or cut and when you did it.

    +
+ +

+ Peripherals +

+
    +
  • + + camera.control.face_detection.enabled = false + +
  • + +
  • + + camera.control.face_detection.enabled = false + +
  • + +
  • + dom.battery.enabled = false +
  • +
+ +

+ Webpage Prefetching & Caching +

+
    +
  • + + browser.urlbar.speculativeConnect.enabled = false + +
  • + +
  • + browser.cache.offline.enable = false +
  • + +
  • network.prefetch-next = false
  • + +
  • + browser.cache.check_doc_frequency = 0 +
  • +
+ +

+ Mozilla Telemetry +

+
    +
  • + toolkit.telemetry.cachedClientID +
  • + +
  • + browser.aboutHomeSnippets.updateUrL +
  • + +
  • + + browser.startup.homepage_override.mstone = ignore + +
  • + +
  • + + browser.startup.homepage_override.buildID + +
  • + +
  • + startup.homepage_welcome_url +
  • + +
  • + startup.homepage_welcome_url.additional +
  • + +
  • startup.homepage_override_url
  • +
+ +

+ User-Agent Spoofing +

+ + +

+ + DNS-over-HTTPS + +

+
    +
  • + network.trr.uri = "" +
  • +

    + Select a DNS-over-HTTPS server to use—I use the + + dnswarden adblocking one, but if your polity censors + your internet access, you should use the uncensored one. + There is a list of alternatives available on GitHub + here. +

    + +
  • network.trr.mode = 3
  • +

    This sets HTTPS over DNS to be on all the time

    +
+ +

+ + Header Sanitization + +

+
    +
  • + network.http.referer.spoofSource = true +
  • + +
  • + + network.http.referer.hideOnionSource = true + +
  • +
+ +

+ Disable Google Safe Browsing +

+

+ This is an exhaustive list of all the settings you need to + change. Typing only browser.safebrowsing into the + about:config search box will return all of them, but + make sure to apply the correct value to each. +

+
    +
  • + browser.safebrowsing.allowOverride = true +
  • + +
  • + + browser.safebrowsing.malware.enabled = false + +
  • + +
  • + + browser.safebrowsing.phishing.enabled = false + +
  • + +
  • + + browser.safebrowsing.downloads.enabled = false + +
  • + +
  • + + browser.safebrowsing.blockedURIs.enabled = false + +
  • + +
  • + + browser.safebrowsing.downloads.remote.block_dangerous_host + = false + +
  • + +
  • + + browser.safebrowsing.downloads.remote.block_dangerous + = false + +
  • + +
  • + + browser.safebrowsing.downloads.remote.block_potentially_unwanted + = false + +
  • + +
  • + + browser.safebrowsing.downloads.remote.enabled = false + +
  • + +
  • + browser.safebrowsing.downloads.remote.url +
  • + +
  • browser.safebrowsing.id
  • + +
  • + + browser.safebrowsing.provider.google4.updateURL + +
  • + +
  • + + browser.safebrowsing.provider.google4.reportURL + +
  • + +
  • + + browser.safebrowsing.provider.google4.reportPhishMistakeURL + +
  • + +
  • + + browser.safebrowsing.provider.google4.reportMalwareMistakeURL + +
  • + +
  • + browser.safebrowsing.provider.google4.lists +
  • + +
  • + + browser.safebrowsing.provider.google4.gethashURL + +
  • + +
  • + + browser.safebrowsing.provider.google4.dataSharingURL + +
  • + +
  • + + browser.safebrowsing.provider.google4.dataSharing.enabled + = false + +
  • + +
  • + + browser.safebrowsing.provider.google4.advisoryURL + +
  • + +
  • + + browser.safebrowsing.provider.google4.advisoryName + +
  • + +
  • + browser.safebrowsing.provider.google4.pver +
  • + +
  • + + browser.safebrowsing.provider.google4.lastupdatetime + +
  • + +
  • + + browser.safebrowsing.provider.google4.nextupdatetime + +
  • + +
  • + + browser.safebrowsing.provider.google.advisoryName + +
  • + +
  • + + browser.safebrowsing.provider.google.advisoryURL + +
  • + +
  • + + browser.safebrowsing.provider.google.updateURL + +
  • + +
  • + + browser.safebrowsing.provider.google.reportURL + +
  • + +
  • + + browser.safebrowsing.provider.google.gethashURL + +
  • + +
  • + + browser.safebrowsing.provider.google.reportPhishMistakeURL + +
  • + +
  • + + browser.safebrowsing.provider.google.reportMalwareMistakeURL + +
  • + +
  • + browser.safebrowsing.provider.google.pver +
  • + +
  • + browser.safebrowsing.provider.google.lists +
  • + +
  • + + browser.safebrowsing.provider.mozilla.gethashURL + +
  • + +
  • + + browser.safebrowsing.provider.mozilla.lastupdatetime + +
  • + +
  • + browser.safebrowsing.provider.mozilla.pver +
  • + +
  • + + browser.safebrowsing.provider.mozilla.updateURL + +
  • + +
  • + browser.safebrowsing.provider.mozilla.lists +
  • + +
  • + + browser.safebrowsing.provider.mozilla.lists.base + +
  • + +
  • + + browser.safebrowsing.provider.mozilla.lists.content + +
  • +
+
+
+

+ Extensions +

+

+ Note: Containerization extensions like Facebook Container or + Google Container are redundant with + + Total + Cookie Protection + and + + Enhanced Cookie Clearing. +

+

+ If there is any extension you feel is missing from this list, + feel free to send me a git + patch through e-mail adding it along with a description as + to why you believe it should be included. Before contacting me, please read through the + whole list, + + this, and + + this. +

+ +

+ Standard Privacy Extensions +

+ + +

+ + Advanced Privacy Extensions + +

+
+ +

+ These extensions may hinder or break certain functionality on + websites using heavy amounts of JavaScript. +

+
+ + +

+ Tools +

+
    +
  • +

    + + Bypass Paywalls + – Bypasses paywalls for some sites. +

    +
  • + +
  • +

    + + FireMonkey + – Lightweight user script and style manager + utilizing native Firefox APIs to support userscripts + from sources like + GreasyFork and + OpenUserJS as well + as Stylish themes from + + Userstyles. +

    +
  • + +
  • +

    + + Flagfox + – Displays information about a website's physical + location and IP address in the address bar. +

    +
  • + +
  • +

    FoxyProxy + + Standard + / + + Basic + – Advanced proxy manager which replaces Firefox's + lacking settings. +

    +
  • + +
  • +

    + + LibRedirect + – Redirects services like Twitter and YouTube to + their privacy-respecting front-ends or alternatives. +

    +
  • +
+
+ +
+