Add LocalCDN, LibRedirect and adapt some README files to reflect latest state

This commit is contained in:
Alexander Schäferdiek 2023-04-19 00:46:39 +02:00
parent ef1b7f5403
commit 358f735d59
5 changed files with 346 additions and 24 deletions

View file

@ -12,6 +12,8 @@ Periodically and on connect/disconnect of any Internet connection, Android queri
The `adb` cli tools provide a way to set a different captive portal not owned by Google which don't log data. You should change it. See `captiveportal.sh` for an example.
Using an OS like [CalyxOS](https://calyxos.org) or [GrapheneOS](https://grapheneos.org) allow to have a dedicated toggle to switch this off!
## DNS
By default Android will use Google DNS servers not secured with SSL. Starting from Android 8, Android provides means to overcome this by setting a _private DNS_ server in `Settings -> Network & internet -> Private DNS`. For example, set it to `fdns1.dismail.de`.

View file

@ -2,7 +2,7 @@
In need of a Chrome browser? It's best to use the [ungoogled-chromium](https://github.com/Eloston/ungoogled-chromium).
Binaries are available [here](https://ungoogled-software.github.io/ungoogled-chromium-binaries/), also for Windows.
For ArchLinux there are pacman repositories available [here](https://github.com/ungoogled-software/ungoogled-chromium-archlinux),
For ArchLinux there are `pacman` repositories available [here](https://github.com/ungoogled-software/ungoogled-chromium-archlinux),
pick one and set it up to be able to install the ungoogle-chromium as binary.
## How to use extensions
@ -13,6 +13,8 @@ project to install the web store extension.
Ensure to set `chrome://flags/#extension-mime-request-handling` to `Always prompt for install` if you like to have the possibility to just click on the
"Add extension" button in the Chrome Web Store like you're used to do.
Useful is probably at least at least the _uBlock_ extension.
## Defaults
There are some defaults set, e.g. delete all browser data on quitting chromium. Change that if you like.

View file

@ -6,6 +6,19 @@ Why Firefox? It provides high configurability, is open source and thus better to
Mainly based on [arkenfox](https://github.com/arkenfox/user.js) with some [custom overrides](https://github.com/arkenfox/user.js/wiki/3.1-Overrides).
- [README](#readme)
- [Install](#install)
- [Custom overrides](#custom-overrides)
- [Recommended extensions](#recommended-extensions)
- [Must have](#must-have)
- [uBlock settings](#ublock-settings)
- [Canvas Blocker](#canvas-blocker)
- [LibRedirect](#libredirect)
- [LocalCDN](#localcdn)
- [Advanced, but highly recommended extensions / software to use](#advanced-but-highly-recommended-extensions--software-to-use)
- [Recommended search engines](#recommended-search-engines)
- [Additional hints](#additional-hints)
## Install
To find your profile folder, click on the menu top right, on `Help -> Troubleshooting Information`. You can directly open your **Profile Directory** from there or see it, typically it's something like `$HOME/.mozilla/firefox/...` or in Windows `%APPDATA%\Mozilla\Firefox\Profiles\...`
@ -15,10 +28,7 @@ To find your profile folder, click on the menu top right, on `Help -> Troublesho
* Change any setting if needed, e.g. not clean history?
* Apply the `user-overrides.js` by running `./updater.sh` or the `.bat` file on Windows in the Firefox profile folder
* Remove unnecessary search engines and apply your own or use DuckDuckGo/Startpage
* Install necessary plugins
* uBlock
* Canvas Blocker
* Skip Redirect
* Install recommended extensions/plugins
* Import provides settings file for uBlock and Canvas Blocker
* Customize toolbar
* add home button
@ -31,46 +41,71 @@ To find your profile folder, click on the menu top right, on `Help -> Troublesho
Look into `user-overrides.js` which custom overrides are enabled and maybe adapt to your needs. In general
they're applied to ease browsing without sacrificing too much security or are just preferences, e.g. _scroll speed_.
## Recommended extensions
Besides Firefox integrated anti-tracking mechanisms, it's still advised to install additional plugins to further enhance this.
* `uBlock Origin` (import provided `.txt` in the extension):
* blocks ads and unwanted trackers
* removes certain url parameters ()
* `Skip Redirect`: skips not needed redirects of pages
* `CanvasBlocker` (import provided config in the extension): disallows canvas fingerprinting which would be able to identify your unique browser, heavily used in some JavaScript (web) APIs
In addition, some of those extensions will also greatly improve your user experience: fewer ads, faster page loads. Remember, you can also switch them off (disable), you don't need to uninstall.
**More**:
* Use a password manager and don't store or synchronize your passwords within internal browser functionality, e.g. `KeePassXC`
**Highly recommended to have all of them allowed in Incognito Mode as well (Maybe except for LocalCDN if desired)!**
**Hint**: All extensions, especially extensions interferring in redirects and cookies like `Skip Redirect` _might_ lead to malfunctioning of some websites, e.g. websites not redirecting correctly or not being able to store cookies. _It's recommended to disable them per page if you notice something's not working as expected_!
### Must have
* `uBlock Origin`: blocks ads and unwanted trackers, also removes certain url parameters (https://addons.mozilla.org/de/firefox/addon/ublock-origin/)
* `CanvasBlocker`: disallows canvas fingerprinting which would be able to identify your unique browser, heavily used in some JavaScript (web) APIs (https://addons.mozilla.org/de/firefox/addon/canvasblocker/)
* `Skip Redirect`: skips not needed redirects of pages (https://addons.mozilla.org/de/firefox/addon/skip-redirect/)
* `ClearURLs`: removes tracking parameters from URLs, e.g., from Google analytics (https://addons.mozilla.org/de/firefox/addon/clearurls/)
* `LibRedirect`: automatically redirects to privacy-friendly frontends of certain applications, e.g., nitter for all Twitter links or piped for all Youtube links (believe me, you'll love the snappiness!) (https://addons.mozilla.org/de/firefox/addon/libredirect/)
* `LocalCDN`: some files like fonts are loaded from Google by some pages when they decide to do so, you can avoid it with this extension as it will have them properly embedded already, so you save the troubles of contacting Google servers (or other Content Deliver Networks) (https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/)
**Hint**: Extensions impacting redirects or cookies _might_ lead to malfunctioning of some websites. If you encounter this, it's **recommended to disable them _per page_** and **NOT** globally! First could shot can be setting an exception for a page inside uBlock.!
You can **hide extension icons** in the overflow menu if you like. Just right click the icon in the top right in the menu bar and "pin to overflow".
### uBlock settings
#### uBlock settings
* Import the `ublock-config-1.txt` in the "My Filter" menu for proper settings.
* Import the `ublock-config-1.txt` in the "My Filter" menu for proper settings from the [extension_settings/](./extension_settings/) folder within the extension.
* Import `https://raw.githubusercontent.com/gwarser/filter-lists/master/lan-block.txt` in "Filter lists" (Custom)
### Canvas Blocker
#### Canvas Blocker
Import the provided Canvas settings `json` file.
Import the provided Canvas settings `CanvasBlocker-settings.json` file from the [extension_settings/](./extension_settings/) folder within the extension.
#### LibRedirect
Import the provided libredirect settings `libredirect-settings.json` file from the [extension_settings/](./extension_settings/) folder within the extension.
#### LocalCDN
Import the provided localcdn settings `localcdn_backup.txt` file from the [extension_settings/](./extension_settings/) folder within the extension.
### Advanced, but highly recommended extensions / software to use
Use a password manager and don't store or synchronize your passwords within internal browser functionality, e.g., `KeePassXC` or `Bitwarden` with a custom provider
## Recommended search engines
If not possible in another way, you can add them via [Add custom search engine](https://addons.mozilla.org/en-US/firefox/addon/add-custom-search-engine/). Just follow instructions after installing and opening the extension.
```
https://www.qwant.com/?q=%s&r=DE&sr=de&l=en_gb&h=1&s=0&a=1&b=1&vt=0&hc=0&smartNews=0&smartSocial=0&theme=0&i=1&donation=0&qoz=0&shb=0&shl=0
```
```
```shell
# Tied to "Germany" for search results, maybe you like to change this
# Then generate a different URL
https://duckduckgo.com/?q=%s&ks=l&kav=1&kn=1&kp=-2&kak=-1&kax=-1&kaq=-1&kao=-1&kau=-1&kaj=m&kam=google-maps&k1=-1&kae=c
```
Be sure to add shortcuts to be used in your navigation bar, e.g. `@ddg` refers to DuckDuckGo search engine and directly issues searches to DuckDuckGo from the navigation bar.
```shell
# Tied to "Germany" for search results, maybe you like to change this
# Then generate a different URL
https://www.qwant.com/?q=%s&r=DE&sr=de&l=en_gb&h=1&s=0&a=1&b=1&vt=0&hc=0&smartNews=0&smartSocial=0&theme=0&i=1&donation=0&qoz=0&shb=0&shl=0
```
```shell
# Tied to "Germany" for search results, maybe you like to change this
# Then generate a different URL
https://duckduckgo.com/?q=%s&ks=l&kav=1&kn=1&kp=-2&kak=-1&kax=-1&kaq=-1&kao=-1&kau=-1&kaj=m&kam=google-maps&k1=-1&kae=c
```
Be sure to add shortcuts to be used in your navigation bar, e.g. `@ddg` refers to DuckDuckGo search engine and directly issues searches to DuckDuckGo from the navigation bar and does not use the default search engine, but your default!
## Additional hints

View file

@ -0,0 +1,257 @@
{
"youtube": {
"enabled": true,
"redirectType": "main_frame",
"frontend": "piped",
"unsupportedUrls": "bypass"
},
"invidious": [
"https://inv.vern.cc"
],
"piped": [
"https://piped.video"
],
"pipedMaterial": [
"https://piped-material.xn--17b.net"
],
"poketube": [
"https://poketube.fun"
],
"cloudtube": [
"https://tube.cadence.moe"
],
"youtubeMusic": {
"enabled": false,
"frontend": "beatbump",
"unsupportedUrls": "bypass"
},
"beatbump": [
"https://beatbump.ml"
],
"hyperpipe": [
"https://hyperpipe.surge.sh"
],
"twitter": {
"enabled": true,
"redirectType": "main_frame",
"unsupportedUrls": "bypass"
},
"nitter": [
"https://nitter.net"
],
"tiktok": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"proxiTok": [
"https://proxitok.pabloferreiro.es"
],
"reddit": {
"enabled": false,
"frontend": "libreddit",
"unsupportedUrls": "bypass"
},
"libreddit": [
"https://libreddit.spike.codes"
],
"teddit": [
"https://teddit.net"
],
"imgur": {
"enabled": false,
"redirectType": "main_frame",
"unsupportedUrls": "bypass"
},
"rimgo": [
"https://rimgo.vern.cc"
],
"medium": {
"frontend": "scribe",
"enabled": false,
"unsupportedUrls": "bypass"
},
"scribe": [
"https://scribe.rip"
],
"libMedium": [
"https://md.vern.cc"
],
"quora": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"quetre": [
"https://quetre.iket.me"
],
"imdb": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"libremdb": [
"https://libremdb.iket.me"
],
"fandom": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"breezeWiki": [
"https://breezewiki.com"
],
"lbry": {
"enabled": false,
"frontend": "librarian",
"redirectType": "main_frame",
"unsupportedUrls": "bypass"
},
"librarian": [
"https://lbry.vern.cc"
],
"search": {
"enabled": false,
"frontend": "searxng",
"unsupportedUrls": "bypass"
},
"searxng": [
"https://search.bus-hit.me"
],
"searx": [],
"whoogle": [],
"librex": [],
"translate": {
"enabled": false,
"frontend": "simplyTranslate",
"unsupportedUrls": "bypass"
},
"simplyTranslate": [
"https://simplytranslate.org"
],
"lingva": [
"https://lingva.ml"
],
"libreTranslate": [],
"maps": {
"enabled": false,
"frontend": "osm",
"unsupportedUrls": "bypass"
},
"facil": [
" https://facilmap.org "
],
"osm": [
"https://www.openstreetmap.org"
],
"sendFiles": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"send": [
"https://send.vis.ee"
],
"textStorage": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"privateBin": [],
"reuters": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"neuters": [
"https://neuters.de"
],
"genius": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"dumb": [
"https://dm.vern.cc"
],
"urbanDictionary": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"ruralDictionary": [
"https://rd.vern.cc"
],
"stackOverflow": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"anonymousOverflow": [
"https://code.whatever.social"
],
"goodreads": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"biblioReads": [
"https://biblioreads.ml"
],
"wikipedia": {
"enabled": true,
"unsupportedUrls": "bypass"
},
"wikiless": [
"https://wikiless.org"
],
"snopes": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"suds": [
"https://sd.vern.cc"
],
"waybackMachine": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"waybackClassic": [
"https://wayback-classic.net"
],
"github": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"gothub": [
"https://gh.odyssey346.dev"
],
"bilibili": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"mikuInvidious": [
"https://mikuinv.resrv.org"
],
"bandcamp": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"tent": [
"https://tent.sny.sh"
],
"wolframAlpha": {
"enabled": false,
"unsupportedUrls": "bypass"
},
"wolfreeAlpha": [
"https://gqq.gitlab.io",
"https://uqq.gitlab.io"
],
"exceptions": {
"url": [],
"regex": []
},
"theme": "detect",
"popupServices": [
"youtube",
"twitter",
"tiktok",
"imgur",
"reddit",
"quora",
"translate",
"maps"
],
"fetchInstances": "codeberg",
"version": "2.5.4"
}

View file

@ -0,0 +1,26 @@
{
"allowedDomainsGoogleFonts": {},
"allowlistedDomains": {},
"badgeDefaultBackgroundColor": "#666666",
"badgeDefaultTextColor": "#FFFFFF",
"badgeHTMLFilterBackgroundColor": "#FF0000",
"badgeHTMLfilterTextColor": "#FFFFFF",
"badgeMissingResourceBackgroundColor": "#0000FF",
"badgeMissingResourceTextColor": "#FFFFFF",
"blockGoogleFonts": true,
"blockMissing": false,
"changeBadgeColorMissingResources": false,
"defaultRangeStatistic": "week",
"disablePrefetch": true,
"domainsManipulateDOM": {},
"enforceStaging": false,
"hideDonationButton": false,
"lastMappingUpdate": "2020-01-01",
"negateHtmlFilterList": true,
"selectedIcon": "Default",
"showIconBadge": true,
"storageType": "local",
"stripMetadata": true,
"updateNotification": 0,
"xhrTestDomain": "localcdn.org"
}