All about Firefox's config: settings

For discussions about security.
Post Reply
User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

All about Firefox's config: settings

Post by sucuklu yumurta »

***32 bit Extensions + Bookmark***

Firefox 77 and 78 Fixed https://disk.yandex.com.tr/d/x6Ye8ROba5igAQ (Racy, Precise, Lucid)

Some sites do not work as fully as the current browser, but this does not prevent use

Firefox 88 and 89 Fixed https://disk.yandex.com.tr/d/Dx1G7CagGo9_xQ

I have to say that 92 is the best version to use on an older device, neither as old and light as 77, nor as dense and heavy as 115, it's like the middle of the two

Firefox 92 Fixed https://disk.yandex.com.tr/d/sO_EXQ0zW_F-9w (BionicPup32, 20.04 FossaPup64, 22.04 JammyPup64 or newer)
Firefox 92 Fixed 2 Yadi:......
I've added as many settings as I can to alleviate connection traffic
This is the best for now frendos amigos :thumbup:

1) /root/Downloads/adrv_upupbb_19.03.sfs.extracted/opt/firefox/defaults/pref
local-settings.js

cfg file: When you add this file, the settings are completely added.
2) /root/Downloads/adrv_upupbb_19.03.sfs.extracted/opt/firefox/
ff4lxpup.cfg
@Burunduk reminded me, I didn't know such a file existed :thumbup:
Even if the local setting file is not fully added, all settings are added thanks to this file
local setting dosyası tam eklemese bile cfg bütün ayarlar eklenmiş oluyor (galiba bu dosya işe yarıyor)

3) /root/Downloads/adrv_upupbb_19.03.sfs.extracted/opt/firefox/distribution
policies.json

Geçici not: Tek şunu çözemedim, ana sayfa olarak www.startpage.com eklemiştim fakat ilk başlangıçta bu geliyor .ini dosyası eklenmesi gerekiyor olabilir, daha iyisini yaparsam değiştiririm >>> file:///root/%u

Firefox 101 Fixed

''Firefox 103, released on July 26, 2022, improved responsiveness on macOS during periods of high CPU load by switching to a modern lock API''

Firefox 108 Fixed (BionicPup32, 20.04 FossaPup64, 22.04 JammyPup64 or newer) Yandex Disk:

Firefox 109 + Manifest v3 extension compatibility

Firefox 118 + supports Wayland fractional scaling and Built-In Translation beta test

''Canonical, the maker of the Ubuntu Linux distribution, announced that the upcoming Ubuntu 23.10 (Mantic Minotaur) release will enable Wayland support by default for its Firefox Snap offering'' 9to5linux.com

Firefox 118 Is Now Available for Download with Built-In Translation for Websites ✅ ✅ ✅
https://9to5linux.com/firefox-118-is-no ... r-websites
widget.wayland.fractional-scale.enabled true

browser.translation

***64 bit Extensions + Bookmark***

20.04 FossaPup64 & 22.04 JammyPup64:
Firefox 92 Fixed https://disk.yandex.com.tr/d/dePdinFw-5i0Eg
Firefox 92 Fixed 2 Yadi:......
Firefox 101 Fixed
Yandex Disk: 105 adrvsfs Fixed
Yandex Disk: 108 adrvsfs Fixed

Yandex Disk: 115 adrvsfs Can be updated

Ubuntu-based fixed Firefox never crashes

temp note: Updating via the update itself (from Help - About) sometimes crashes, this may only apply to the version in my signature, but not to other more recent versions of FossaPup and JammyPup, I think it's best to use different versions as Fixed, at least for a while.

7 Sept 2023 perform Note:
When using Debian-based Firefox, the number of "web content" in the background is around 500-600 mb, 5-6 and sometimes 7, when using Ubuntu-based Firefox, this number does not exceed 3-4, Ubuntu-based Firefox is lighter than Debian-based Firefox


Firefox Change in System Requirements:
Firefox 115.0 Recommended Hardware
Windows 7 or later
Pentium 4 or newer processor that supports SSE2
512MB of RAM / 2GB of RAM for the 64-bit version
200MB of hard drive space

Firefox 115 4665 pref lines
Even if the FF version is old, this add-on https://addons.mozilla.org/en-US/firefo ... -adblocker
The functionality and appearance of the site you visit continues to be preserved.
Adguard is not just an ad blocker. With Adguard add-on support, I estimate 115 will last for about 3 years.✅

Firefox 116.0 Recommended Hardware
Windows 10 or later
1 gigahertz (GHz) or faster compatible processor or System on a Chip (SoC)
1GB of RAM / 2GB of RAM for the 64-bit version
500MB of hard drive space

Ubuntu Based Firefox APT repository:
https://sourceforge.net/projects/ubuntu ... illa-build

MX Linux Firefox.deb
https://mxrepo.com/mx/repo/pool/main/f/firefox
Debian Firefox.deb
http://http.us.debian.org/debian/pool/m ... x/?C=S;O=D
Debian Firefox ESR.deb
http://http.us.debian.org/debian/pool/m ... r/?C=S;O=D
http://ftp.de.debian.org/debian/pool/ma ... r/?C=S;O=D

Slackware Firefox.txz
https://mirrors.slackware.com/slackware ... p/?C=S;O=D
https://mirrors.slackware.com/slackware ... p/?C=S;O=D

Firefox nightly
https://www.mozilla.org/en-US/firefox/channel/desktop
Mozilla treats Debian devotees to the raw taste of Firefox Nightly

https://www.theregister.com/2023/11/01/ ... an_firefox

Slackware BASED

Firefox 113 Current i686 and x86_64
Yandex Disk:
Slackware 15 i686
Yandex Disk:

Android BASED
Nightly Android (Performance version) armeabi v7a & armeabi v8a
Yandex Disk:
Nightly Android
Yandex Disk:

The latest version that this apk editor can properly package is Firefox 92, I'll update if newer apk editors are released
https://www.apkmirror.com/apk/mozilla/f ... a1-release
REXDL.COM ✅

https://rexdl.com/android/apk-editor-pro-apk.html

About About Shortcut
about:about
about:addons
about:buildconfig

about:cache Maximum storage size: 512000 KiB = 512 MB
You can upgrade according to ram capacity
browser.cache.memory.capacity 512000

about:certificate
about:checkerboard
about:compat
about:config
about:crashes
about:credits
about:debugging
about:downloads
about:home
about:license
about:logins
about:loginsimportreport
about:logo
about:memory
about:mozilla
about:networking
about:newtab
about:performance
about:plugins
about:policies
about:preferences
about:privatebrowsing
about:processes
about:profiles Separate settings, bookmarks and plugins
about:profiling
about:protections
about:rights
about:robots
about:serviceworkers
about:studies
about:support > Important Modified Preferences
about:sync-log
about:telemetry
about:url-classifier
about:webrtc
about:welcome

about:unloads (Unloads tabs) 93 or newer browser.tabs.unloadOnLowMemory true
''Systems with 8 Gigabytes of RAM or less should get the most out of the new tab unload feature of the browser according to Mozilla''


http://kb.mozillazine.org/About:config_entries
Firefox Profilemaker https://ffprofile.com/

pref setting note:

Boolean preferences should be 'true' or 'false', w/o quotes. e.g.:

my.bool.preference=true

#

Integer preferences should be unquoted numbers. e.g.:

my.int.preference=123

#

String preferences should be in quotes. e.g.:

my.string.preference="foo"

Preferences in prefs.js and user.js start with user_pref(...
Can be copied to prefs.js in mixed format, the copied ones are automatically alphabetized.
Preferences in <any-name>.js in opt/firefox/defaults/pref should start with pref(...

You can run a simple command to remove the user prefix: sed -i.bak 's/^user_//' prefs.js or use your text editor "find and replace" feature.


prefs.js
opt/FirefoxESR-portable64/profile
or
/home/spot/.mozilla/firefox/defaultuserrrandomcharacters

Performance-Oriented

Code: Select all

user_pref("browser.aboutConfig.showWarning", false);
user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.memory.enable", false);

-------------------------------------------------------------------------------------------------------------------------------------------
****************Media Stream Cache:*********************
Firefox 92 Default 256000 kb (250 mb)
Modified 128000 kb (125 mb) or 50000 kb (48 mb)

Code: Select all

user_pref("browser.cache.disk.capacity", 128000);
or
user_pref("browser.cache.disk.capacity", 153600);
user_pref("browser.cache.offline.enable", false);
user_pref("media.cache_size", 64000);
user_pref("browser.cache.offline.capacity", 64000);

browser.cache.disk.free_space_hard_limit 1024
browser.cache.disk.free_space_soft_limit 5120

browser.cache.disk.smart_size.enabled", true);

browser.cache.disk.enable false
browser.cache.disk.smart_size.enabled true
disk.cache.memory.capacity new integer 65536
(MB value x 1024)
32768 (for 32MB)
65536 (for 64MB)

or -1 to auto

browser.cache.disk.max_chunks_memory_usage 40960

browser.cache.disk.max_priority_chunks_memory_usage 40960

When the bookmark icon is clicked, the dialog window does not appear, it goes directly to the toolbar.

browser.bookmarks.editDialog.showForNewBookmarks false

Firefox Remote Data Decoder (RDD) Process
''There is currently a plan to move media decoding to its own process'' linuxquestions.org

media.rdd-process.enabled false

Default 50 Modified 20

[code]user_pref("browser.sessionhistory.max_entries", 20);[/code]

Disable addons recommendations (uses Google Analytics):

Code: Select all

user_pref("app.update.auto", false); [Non-Windows]
user_pref("app.update.background.scheduling.enabled", false); [Windows]
user_pref("extensions.getAddons.showPane", false); [HIDDEN PREF]
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
user_pref("browser.discovery.enabled", false);
user_pref("services.sync.prefs.sync.browser.discovery.enabled", false);

-------------------------------------------------------------------------------------------------------------------------------------------
Compact mode removed after version 89, to turn on

[code]user_pref("browser.compactmode.show", true);[/code]

Address bar recommended sites

Code: Select all

user_pref("browser.urlbar.suggest.topsites", false);
user_pref("services.sync.prefs.sync.browser.urlbar.suggest.topsites", false);

-------------------------------------------------------------------------------------------------------------------------------------------
Homepage

Code: Select all

user_pref("browser.startup.homepage", "https://duckduckgo.com/");
user_pref("browser.startup.homepage", "https://yandex.com/");
user_pref("browser.startup.homepage", "https://rockedge.org/psearch/");

https://html.duckduckgo.com/html

WebRender: Firefox 93 onwards uses hardware rendering by default, more for new hardware

Code: Select all

user_pref("gfx.webrender.software", true);
user_pref("gfx.webrender.software.opengl", true);

-------------------------------------------------------------------------------------------------------------------------------------------
Left PinTab 106 and later versions “Firefox View“

Code: Select all

user_pref("browser.tabs.firefox-view", false);
user_pref("browser.tabs.firefox-view-next", false);

-------------------------------------------------------------------------------------------------------------------------------------------
Language / Locale

Code: Select all

user_pref("intl.accept_languages", "en-US, en");
user_pref("services.sync.prefs.sync.intl.accept_languages", false);
user_pref("javascript.use_us_english_locale", true); [HIDDEN PREF]

-------------------------------------------------------------------------------------------------------------------------------------------
Geolocation

Code: Select all

user_pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%25MOZILLA_API_KEY");
user_pref("browser.region.network.url", "");
user_pref("geo.provider.use_geoclue", false);
user_pref("browser.region.update.enabled", false);

Code: Select all

user_pref("geo.provider.ms-windows-location", false);[Windows]
user_pref("geo.provider.use_corelocation", false); [macOS]
user_pref("geo.provider.use_gpsd", false); [Linux]
user_pref("geo.provider.use_geoclue", false); [Linux]

-------------------------------------------------------------------------------------------------------------------------------------------
Network Checks

Code: Select all

user_pref("captivedetect.canonicalURL", "");
user_pref("network.captive-portal-service.enabled", false);
user_pref("network.connectivity-service.enabled", false);

-------------------------------------------------------------------------------------------------------------------------------------------
Disable telemetry:

Code: Select all

user_pref("toolkit.telemetry.server", "");
user_pref("toolkit.telemetry.server", "data:,");
user_pref("toolkit.coverage.endpoint.base", "");
user_pref("browser.ping-centre.telemetry", false);
user_pref("toolkit.telemetry.updatePing.enabled", false);
user_pref("beacon.enabled", false);
user_pref("datareporting.policy.dataSubmissionEnabled", false);
user_pref("datareporting.healthreport.uploadEnabled", false);
user_pref("toolkit.telemetry.enabled", false);
user_pref("toolkit.telemetry.unified", false);
user_pref("toolkit.telemetry.archive.enabled", false);
user_pref("toolkit.telemetry.newProfilePing.enabled", false);
user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
user_pref("toolkit.telemetry.updatePing.enabled", false);
user_pref("toolkit.telemetry.bhrPing.enabled = ", false);
user_pref("toolkit.coverage.endpoint.base", "");
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
user_pref("browser.ping-centre.telemetry", false);
user_pref("toolkit.coverage.opt-out", true);
user_pref("toolkit.telemetry.coverage.opt-out", true);

-------------------------------------------------------------------------------------------------------------------------------------------
Studies:

Code: Select all

user_pref("app.shield.optoutstudies.enabled", false);
user_pref("services.sync.prefs.sync-seen.app.shield.optoutstudies.enabled", false);
user_pref("services.sync.prefs.sync-seen.services.sync.prefs.sync.app.shield.optoutstudies.enabled", false);
user_pref("services.sync.prefs.sync.app.shield.optoutstudies.enabled", false);

Disable Activity Stream on new windows and tab pages

Code: Select all

user_pref("browser.newtabpage.activity-stream.telemetry.ut.events", false);
user_pref("browser.newtabpage.activity-stream.telemetry.structuredIngestion.endpoint", "");
user_pref("browser.newtabpage.activity-stream.default.sites", "");
user_pref("browser.newtabpage.activity-stream.telemetry.ut.events", false);
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
user_pref("services.sync.prefs.sync.browser.newtabpage.enabled", false);
user_pref("browser.newtabpage.enabled", false);
user_pref("browser.newtabpage.activity-stream.telemetry", false);
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
user_pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.snippets", false);
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
user_pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories", false);
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
user_pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket", false);
user_pref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false);
user_pref("browser.newtabpage.activity-stream.showSponsored", false);
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
user_pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored", false);
user_pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites", false);
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
user_pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites", false);

-------------------------------------------------------------------------------------------------------------------------------------------
h264 plugins Audio/Video: WebRTC, WebGL, DRM

Code: Select all

user_pref("media.gmp-gmpopenh264.enabled", false);

Disable WebGL (Web Graphics Library):

Code: Select all

user_pref("webgl.disabled", true);
user_pref("media.peerconnection.enabled", false);
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
user_pref("media.peerconnection.ice.default_address_only", true);
user_pref("media.peerconnection.ice.no_host", true);

-------------------------------------------------------------------------------------------------------------------------------------------
Disable autoplay of HTML5 media:
0 = allow all
1 = block non-muted media (default)
5 = block all

Code: Select all

user_pref("media.autoplay.default", 5);
user_pref("services.sync.prefs.sync-seen.media.autoplay.default", false);
user_pref("services.sync.prefs.sync-seen.services.sync.prefs.sync.media.autoplay.default", false);

-------------------------------------------------------------------------------------------------------------------------------------------
defaultPref("general.smoothScroll", false); makes firefox unusable


************************************* From another site **************************************************


= "" (empty)


*Disable about:config warning

browser.aboutConfig.showWarning = false

Left pintab: browser.tabs.firefox-view = false

*Set startup home page:
Disable about:config warning:
browser.aboutConfig.showWarning = false
0 = blank
1 = home
2 = last visited page
3 = resume previous session

browser.startup.page = 1

browser.startup.homepage = "about:home"

*Disable Activity Stream on new windows and tab pages:

browser.newtabpage.enabled = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.newtabpage.enabled = false
services.sync.prefs.sync.browser.newtabpage.enabled = false
services.sync.prefs.sync-seen.browser.newtabpage.enabled =false
browser.newtab.preload = false
browser.newtabpage.activity-stream.feeds.telemetry = false
browser.newtabpage.activity-stream.telemetry = false
browser.newtabpage.activity-stream.telemetry.structuredIngestion.endpoint = ""
browser.newtabpage.activity-stream.telemetry.ut.events = false
browser.newtabpage.activity-stream.feeds.snippets = false
services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.snippets = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.snippets =false
browser.newtabpage.activity-stream.feeds.section.topstories = false
browser.newtabpage.activity-stream.feeds.section.topstories.options = ""
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories = false
services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories = false
browser.newtabpage.activity-stream.section.highlights.includePocket = false
services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.section.highlights.includePocket = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket = false
services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket = false
browser.newtabpage.activity-stream.feeds.discoverystreamfeed = false
browser.newtabpage.activity-stream.showSponsored = false
browser.newtabpage.activity-stream.showSponsoredTopSites = false
services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.showSponsoredTopSites = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites = false
services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored = false
services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites = false
services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.showSponsored = false
browser.newtabpage.activity-stream.showSponsoredTopSites = false
browser.newtabpage.activity-stream.default.sites = ""


*Geolocation:
Use Mozilla geolocation service instead of Google if permission is granted:

geo.provider.network.url = "https://location.services.mozilla.com/v ... LA_API_KEY%"

*Disable using the OS’s geolocation service:
geo.provider.ms-windows-location = false [Windows]
geo.provider.use_corelocation = false [macOS]
geo.provider.use_gpsd = false [Linux]

geo.provider.use_geoclue = false [Linux]

*Disable region updates:
browser.region.network.url = "" or https://location.services.mozilla.com/v ... LA_API_KEY%

browser.region.update.enabled = false

*Language / Locale
Set language for displaying web pages:
intl.accept_languages = "en-US, en"

javascript.use_us_english_locale = true [HIDDEN PREF]

Auto-updates / Recommendations
*Disable auto-installing Firefox updates:
app.update.background.scheduling.enabled = false [Windows]
app.update.auto = false [Non-Windows]

app.update.autoInstallEnabled = false

*Disable addons recommendations (uses Google Analytics):
extensions.getAddons.showPane = false [HIDDEN PREF]
extensions.htmlaboutaddons.recommendations.enabled = false
browser.discovery.enabled = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.discovery.enabled = false
services.sync.prefs.sync.browser.discovery.enabled = false

services.sync.prefs.sync-seen.browser.discovery.enabled = false

Telemetry
Disable telemetry:

datareporting.policy.dataSubmissionEnabled = false
datareporting.healthreport.uploadEnabled = false
toolkit.telemetry.enabled = false [Default: false]
toolkit.telemetry.unified = false
toolkit.telemetry.server = "data:,"
toolkit.telemetry.archive.enabled = false
toolkit.telemetry.newProfilePing.enabled = false
toolkit.telemetry.shutdownPingSender.enabled = false
toolkit.telemetry.shutdownPingSender.enabledFirstSession = false
toolkit.telemetry.updatePing.enabled = false
toolkit.telemetry.bhrPing.enabled = false
toolkit.telemetry.firstShutdownPing.enabled = false
toolkit.telemetry.coverage.opt-out = true [HIDDEN PREF]
toolkit.coverage.opt-out = true [HIDDEN PREF]
toolkit.coverage.endpoint.base = ""
browser.ping-centre.telemetry = false

beacon.enabled = false

*About Studies:
''Studies try out different features and ideas before they are released to all Firefox users.
Using your feedback, we can make more informed decisions based on what you actually need''

Disable studies:
app.shield.optoutstudies.enabled = false
services.sync.prefs.sync-seen.app.shield.optoutstudies.enabled = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.app.shield.optoutstudies.enabled = false
services.sync.prefs.sync.app.shield.optoutstudies.enabled = false

Disable Normandy/Shield:
app.normandy.enabled = false

app.normandy.api_url = ""

Crash Reports
Disable crash reports:
breakpad.reportURL = ""

browser.tabs.crashReporting.sendReport = false

Captive Portal Detection / Network Checks
Disable captive portal detection:

captivedetect.canonicalURL = ""
network.captive-portal-service.enabled = false

Disable network connections checks:

network.connectivity-service.enabled = false

Safe Browsing
Disable safe browsing service:

browser.safebrowsing.malware.enabled = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.safebrowsing.malware.enabled = false
services.sync.prefs.sync.browser.safebrowsing.malware.enabled = false
services.sync.prefs.sync-seen.browser.safebrowsing.malware.enabled = false
browser.safebrowsing.phishing.enabled = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.safebrowsing.phishing.enabled = false
services.sync.prefs.sync.browser.safebrowsing.phishing.enabled = false

services.sync.prefs.sync-seen.browser.safebrowsing.phishing.enabled = false

Disable list of blocked URI:

browser.safebrowsing.blockedURIs.enabled = false

Disable fetch of updates:

browser.safebrowsing.provider.google4.gethashURL = ""
browser.safebrowsing.provider.google4.updateURL = ""
browser.safebrowsing.provider.google.gethashURL = ""
browser.safebrowsing.provider.google.updateURL = ""

browser.safebrowsing.provider.google4.dataSharingURL = ""

Disable checks for downloads:

browser.safebrowsing.downloads.enabled = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.safebrowsing.downloads.enabled = false
services.sync.prefs.sync.browser.safebrowsing.downloads.enabled = false
services.sync.prefs.sync-seen.browser.safebrowsing.downloads.enabled = false
browser.safebrowsing.downloads.remote.enabled = false

browser.safebrowsing.downloads.remote.url = ""

Disable checks for unwanted software:

browser.safebrowsing.downloads.remote.block_potentially_unwanted = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.safebrowsing.downloads.remote.block_potentially_unwanted = false
services.sync.prefs.sync.browser.safebrowsing.downloads.remote.block_potentially_unwanted = false
services.sync.prefs.sync-seen.browser.safebrowsing.downloads.remote.block_potentially_unwanted = false

browser.safebrowsing.downloads.remote.block_uncommon = false

Disable bypasses the block of safe browsing with a click for current session:

browser.safebrowsing.allowOverride = false

Network: DNS, Proxy, IPv6
Disable link prefetching:

network.prefetch-next = false

Disable DNS prefetching:

network.dns.disablePrefetch = true

network.dns.disablePrefetchFromHTTPS

Disable predictor:

network.predictor.enabled = false

Disable link-mouseover opening connection to linked server:

network.http.speculative-parallel-limit = 0

Disable mousedown speculative connections on bookmarks and history:

browser.places.speculativeConnect.enabled = false

Disable IPv6:

network.dns.disableIPv6 = true

Disable GIO protocols as a potential proxy bypass vectors:

network.gio.supported-protocols = "" [HIDDEN PREF] string

Disable using UNC (Uniform Naming Convention) paths (prevent proxy bypass):

network.file.disable_unc_paths = true [HIDDEN PREF]

Remove special permissions for certain mozilla domains:

permissions.manager.defaultsUrl = ""

Use Punycode in Internationalized Domain Names to eliminate possible spoofing:

network.IDN_show_punycode = true

Search Bar: Suggestions, Autofill

Disable search suggestions:
browser.search.suggest.enabled = false
browser.search.suggest.enabled.private = false
browser.urlbar.suggest.searches = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.urlbar.suggest.searches = false
services.sync.prefs.sync.browser.urlbar.suggest.searches = false

services.sync.prefs.sync-seen.browser.urlbar.suggest.searches = false

Disable location bar domain guessing:

browser.fixup.alternate.enabled = false

Display all parts of the url in the bar:

browser.urlbar.trimURLs = false

Disable location bar making speculative connections:

browser.urlbar.speculativeConnect.enabled = false

Disable form autofill:

browser.formfill.enable = false
services.sync.prefs.sync-seen.browser.formfill.enable = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.formfill.enable = false
services.sync.prefs.sync.browser.formfill.enable = false
extensions.formautofill.addresses.enabled = false
extensions.formautofill.available = Default detect Modified "off"
extensions.formautofill.creditCards.available = false
extensions.formautofill.creditCards.enabled = false

extensions.formautofill.heuristics.enabled = false

Disable location bar contextual suggestions:
browser.urlbar.quicksuggest.scenario = "history"
browser.urlbar.quicksuggest.enabled = false
browser.urlbar.suggest.quicksuggest.nonsponsored = false

browser.urlbar.suggest.quicksuggest.sponsored = false

Passwords
Disable saving passwords:
signon.rememberSignons = false

Disable autofill login and passwords:
signon.autofillForms = false

Disable formless login capture for Password Manager:
signon.formlessCapture.enabled = false

Hardens against potential credentials phishing:
0 = don’t allow sub-resources to open HTTP authentication credentials dialogs
1 = don’t allow cross-origin sub-resources to open HTTP authentication credentials dialogs
2 = allow sub-resources to open HTTP authentication credentials dialogs (default)

Default network.auth.subresource-http-auth-allow = 2
Modified network.auth.subresource-http-auth-allow = 1

I didn't poke around here much.

Disk Cache / Memory

Disable disk cache:

browser.cache.disk.enable = false

Disable storing extra session data:
oturum verilerinin saklanması
0 = everywhere
1 = unencrypted sites
2 = nowhere

browser.sessionstore.privacy_level = 2

Disable resuming session from crash:
browser.sessionstore.resume_from_crash = false

Disable page thumbnail collection:
browser.pagethumbnails.capturing_disabled = true [HIDDEN PREF] *******************************CACHE

Disable favicons in profile folder:

browser.shell.shortcutFavicons = false

Delete temporary files opened with external apps:

browser.helperApps.deleteTempFileOnExit = true

HTTPS / SSL/TLS / OSCP / CERTS

Enable HTTPS-Only mode in all windows:
dom.security.https_only_mode = false *************************************** true was suggested, I made false
dom.security.https_only_mode.upgrade_local = false
dom.security.https_only_mode.upgrade_onion = false
dom.security.https_only_mode_break_upgrade_downgrade_endless_loop = false
dom.security.https_only_mode_error_page_user_suggestions = false
dom.security.https_only_mode_ever_enabled = false
dom.security.https_only_mode_ever_enabled_pbm = false
dom.security.https_only_mode_pbm = false
dom.security.https_only_mode_send_http_background_request = false
services.sync.prefs.sync.dom.security.https_only_mode = false
services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled = false
services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled_pbm = false
services.sync.prefs.sync.dom.security.https_only_mode_pbm = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.dom.security.https_only_mode = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled_pbm = false

services.sync.prefs.sync-seen.services.sync.prefs.sync.dom.security.https_only_mode_pbm = false

Disable sending HTTP request for checking HTTPS support by the server:
dom.security.https_only_mode_send_http_background_request = false

Display advanced information on Insecure Connection warning pages:
browser.xul.error_pages.expert_bad_cert = true (I didn't change it)

Disable TLS1.3 0-RTT (round-trip time):
security.tls.enable_0rtt_data = false

Set OCSP to terminate the connection when a CA isn’t validate:
security.OCSP.require = true

Disable SHA-1 certificates:
security.pki.sha1_enforcement_level = 1

Enable strict pinning (PKP (Public Key Pinning)):
0 = disabled
1 = allow user MiTM (i.e. your Antivirus)
2 = strict

security.cert_pinning.enforcement_level = 2

Enable CRLite
0 = disabled
1 = consult CRLite but only collect telemetry (default)
2 = consult CRLite and enforce both “Revoked” and “Not Revoked” results
3 = consult CRLite and enforce “Not Revoked” results, but defer to OCSP for “Revoked”
security.remote_settings.crlite_filters.enabled = true

security.pki.crlite_mode = 2

Headers / Referers
Control when to send a referer:
0 = always (default)
1 = only if base domains match
2 = only if hosts match

network.http.referer.XOriginPolicy = 2

Control the amount of information to send:
0 = send full URI (default): https://example.com:8888/foo/bar.html?id=1234
1 = scheme+host+port+path: https://example.com:8888/foo/bar.html
2 = scheme+host+port: https://example.com:8888

network.http.referer.XOriginTrimmingPolicy = 2

Audio/Video: WebRTC, WebGL, DRM
Disable WebRTC:

media.peerconnection.enabled = false

Force WebRTC inside the proxy:
media.peerconnection.ice.proxy_only_if_behind_proxy = true

Force a single network interface for ICE candidates generation:

media.peerconnection.ice.default_address_only = true

Force exclusion of private IPs from ICE candidates:

media.peerconnection.ice.no_host = true

Disable WebGL (Web Graphics Library):

webgl.disabled = true ***********************

Disable autoplay of HTML5 media:*************
0 = allow all
1 = block non-muted media (default)
5 = block all

media.autoplay.default = 5
services.sync.prefs.sync-seen.media.autoplay.default = false
services.sync.prefs.sync.media.autoplay.default = false

services.sync.prefs.sync-seen.services.sync.prefs.sync.media.autoplay.default = false

Disable DRM Content:
media.eme.enabled = false
services.sync.prefs.sync-seen.media.eme.enabled = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.media.eme.enabled = false

services.sync.prefs.sync.media.eme.enabled = false

Downloads:

Always ask you where to save files:
browser.download.useDownloadDir = false
services.sync.prefs.sync-seen.browser.download.useDownloadDir = false
services.sync.prefs.sync.browser.download.useDownloadDir = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.browser.download.useDownloadDir = false

Disable adding downloads to system’s “recent documents” list:

browser.download.manager.addToRecentDocs = false

Cookies:
Enable ETP (Enhanced Tracking Protection), ETP strict mode enables Total Cookie Protection (TCP):
browser.contentblocking.category = "strict" Bu bende custom görünüyor
browser.contentblocking.category = custom
services.sync.prefs.sync-seen.browser.contentblocking.category = true
services.sync.prefs.sync.browser.contentblocking.category = true

(I have not changed this part)

Enable state partitioning of service workers:
privacy.partition.serviceWorkers = true

Enable APS (Always Partitioning Storage)
privacy.partition.always_partition_third_party_non_cookie_storage = true

UI Features

Block popup windows:
dom.disable_open_during_load = true

services.sync.prefs.sync.dom.disable_open_during_load = true

Limit events that can cause a popup:

dom.popup_allowed_events = click dblclick mousedown pointerdown

Disable Pocket extension:

extensions.pocket.enabled = false

Disable Screenshots extension:
extensions.Screenshots.disabled = true

(I didn't change it)

Disable PDJFS scripting:

pdfjs.enableScripting = false

Enable Containers and show the UI settings:
privacy.userContext.enabled = true
services.sync.prefs.sync.privacy.userContext.enabled = true
services.sync.prefs.sync-seen.privacy.userContext.enabled = true

services.sync.prefs.sync-seen.services.sync.prefs.sync.privacy.userContext.enabled = true

Extensions

Set extensions to work on restricted domains, and their scopeis to “profile+applications”:
extensions.enabledScopes = 5 [HIDDEN PREF]
extensions.webextensions.restrictedDomains = ""

Display always the installation prompt:
extensions.postDownloadThirdPartyPrompt = false

(I didn't change it)

Shutdown Settings
Clear history, cookies and site data when Firefox closes:**********************

network.cookie.lifetimePolicy = 2

privacy.sanitize.sanitizeOnShutdown = true
services.sync.prefs.sync-seen.privacy.sanitize.sanitizeOnShutdown = true
services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown = true
privacy.clearOnShutdown.cache = true
services.sync.prefs.sync.privacy.clearOnShutdown.cache = true

privacy.clearOnShutdown.cookies = true
services.sync.prefs.sync.privacy.clearOnShutdown.cookies = true

privacy.clearOnShutdown.downloads = true
services.sync.prefs.sync.privacy.clearOnShutdown.downloads = true

privacy.clearOnShutdown.formdata = true
services.sync.prefs.sync.privacy.clearOnShutdown.formdata = true

privacy.clearOnShutdown.history = true
services.sync.prefs.sync.privacy.clearOnShutdown.history = true

privacy.clearOnShutdown.offlineApps = true
services.sync.prefs.sync-seen.privacy.clearOnShutdown.offlineApps = true
services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps = true

privacy.clearOnShutdown.sessions = true
I left it as it was, I didn't change it.
privacy.clearOnShutdown.sessions = false
services.sync.prefs.sync-seen.privacy.clearOnShutdown.sessions = true
services.sync.prefs.sync.privacy.clearOnShutdown.sessions = true

privacy.clearOnShutdown.sitesettings = false
I left it as it was, I didn't change it.
privacy.clearOnShutdown.siteSettings = true
services.sync.prefs.sync-seen.privacy.clearOnShutdown.siteSettings = true
services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings = true

privacy.sanitize.timeSpan = 0

Fingerprinting (RFP)

Enable RFP:

privacy.resistFingerprinting = true
true was suggested, I made it false

privacy.resistFingerprinting = false
privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts = false
privacy.resistFingerprinting.block_mozAddonManager = false
privacy.resistFingerprinting.exemptedDomains *.example.invalid
privacy.resistFingerprinting.jsmloglevel Warn
privacy.resistFingerprinting.pbmode = false
privacy.resistFingerprinting.randomDataOnCanvasExtract = false
privacy.resistFingerprinting.randomization.daily_reset.enabled = false
privacy.resistFingerprinting.randomization.daily_reset.private.enabled = false
privacy.resistFingerprinting.randomization.enabled = false
privacy.resistFingerprinting.reduceTimerPrecision.jitter = false
privacy.resistFingerprinting.reduceTimerPrecision.microseconds 1000
privacy.resistFingerprinting.target_video_res 480
privacy.resistFingerprinting.testGranularityMask 0
privacy.resistFingerprinting.testing.setTZtoUTC = false
services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter = false
services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.microseconds = false
services.sync.prefs.sync-seen.privacy.resistFingerprinting.reduceTimerPrecision.jitter = false
services.sync.prefs.sync-seen.services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter = false

services.sync.prefs.sync-seen.services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.microseconds = false

Set new window size rounding max values:
privacy.window.maxInnerWidth = 1600
privacy.window.maxInnerHeight = 900

Disable mozAddonManager Web API:
privacy.resistFingerprinting.block_mozAddonManager = true [Hidden pref]

Disable using system colors:
browser.display.use_system_colors = false [Default: false [Non-Windows]]

Disable showing about:blank page when possible at startup
browser.startup.blankWindow = false

Disable using system colors:
browser.display.use_system_colors = false [Default: false [Non-Windows]]

(I did not change this part in the browser)

After the changes I made, the response of the Flatpak-Firefox 114 64-bit browser improved noticeably


Other browsers with the same settings:
LibreWolf
https://librewolf.net
Pale Moon
https://www.palemoon.org
Waterfox
https://www.waterfox.net


Mobile browsers with the same settings:
https://apkcombo.com/firefox-nightly-fo ... lla.fenix/

https://play.google.com/store/apps/deta ... illa.fenix

https://www.apkmirror.com/apk/mozilla/f ... a1-release

APK Editor Pro https://disk.yandex.com.tr/d/0ZcRIJ8iWwkKdg

(Firefox Nightly - An experimental web browser)
https://f-droid.org/en/packages/us.spotco.fennec_dos


Mull Browser
https://f-droid.org/en/packages/us.spotco.fennec_dos
https://github.com/arkenfox/user.js
https://github.com/arkenfox/user.js/blob/master/user.js


Related Topic:
Chromium-based mobile browser with chrome://flags
Kiwi Browser
https://apkcombo.com/kiwi-browser/com.k ... r.browser/
Made in Estonia


Related Topic:
https://github.com/pyllyukko/user.js
https://github.com/puppylinux-woof-CE/w ... XUPHACK#L6
https://github.com/TenSoja/clear-cache
https://wiki.archlinux.org/title/Firefox/Tweaks
http://kb.mozillazine.org/Browser.cache.memory.capacity
Firefox/Profile on RAM
https://wiki.archlinux.org/title/Firefox/Profile_on_RAM
https://wiki.archlinux.org/title/Tmpfs


Browser Test
I referenced this site.
https://web.basemark.com/ Free WEB 3.0 TEST
Before
Default setting, never touched
Firefox 102.0 ESR 64 Bit score: 45.55
CSS Capabilities: 58.7%
HTML5 Capabilities: 93.15%
Page Load and Responsiveness Capabilities: 98.8%
Resize Capabilities: 75.86%

After
After some tinkering with prefs.js
Firefox 102 ESR 64 Bit Score: 38.52
CSS Capabilities: 58.7%
HTML5 Capabilities: 93.15%
Page Load and Responsiveness Capabilities: 94.56%

Resize Capabilities: 75.86%

Desktop Using Linux with Pale Moon 32.2.1 score: 18.24
CSS Capabilities: 57.22%
HTML5 Capabilities: 78.38%
Page Load and Responsiveness Capabilities: 98.59%

Resize Capabilities: 75.86%

Desktop using Linux Firefox 77.0 score: 12.19
CSS Capabilities: 57.27%
HTML5 Capabilities: 89.01%
Page Load and Responsiveness Capabilities: 96.24%

Resize Capabilities: 75.86%

Desktop using LinuxFirefox 95.0 score: 12.14
CSS Capabilities: 58.23%
HTML5 Capabilities: 82.52%
Page Load and Responsiveness Capabilities: 93.95%

Resize Capabilities: 75.86%

Desktop using Linux with Firefox 92.0 score: 11.86
CSS Capabilities: 58.23%
HTML5 Capabilities: 82.7%
Page Load and Responsiveness Capabilities: 99.77% ✅

Resize Capabilities: 75.86%

https://www.wirple.com/bmark

Convert Tools
https://whatsabyte.com/P1/byteconverter.htm
http://convertwizard.com/convert-millis ... to-seconds
https://www.colorhexa.com For Firefox background color


''None of the Gnome extensions that are in use now will work on Gnome 45 when it’s released on September 20.''
Since GNOME is the graphical interface that Firefox is most integrated with, I wanted to add a note in case it's related to the manifest v3 plugin migration

GNOME WEB Browser (Epiphany) + Firefox Extensions

GNOME WEB Browser (Epiphany) + Firefox Extensions
https://www.debugpoint.com/gnome-web-update
https://debugpointnews.com/gnome-web-43-extension
https://blog.tingping.se/2022/06/29/Web ... phany.html

32 Bit Debian 12.0.0 GNOME i386 32 Bit (2023-06-10)
https://cdimage.debian.org/cdimage/arch ... -DVD-1.iso 3700 mb
gnome-shell 43.4-1 & Firefox-esr 102.11
+
armhf & arm64

64 Bit UBUNTU 22.10 GNOME Kinetic gnome-shell 43.0
https://old-releases.ubuntu.com/releases/22.10
+
riscv64 armhf arm64 Raspberry Pi .IMG

64 Bit Fedora 37 GNOME gnome-shell 43.0
Package Management: RPM (dnf)
Arch: aarch64, x86_64

https://fedora.cu.be/linux/releases/37
https://fedora.cu.be/linux/releases/37/Spins/x86_64/iso
https://fedora.cu.be/linux/releases/37/ ... x86_64/iso
+
aarch64 .iso https://fedora.cu.be/linux/releases/37/ ... arch64/iso

*If you install one of these 3 GNOME distributions, it will last for many years on modest hardware thanks to the gnome browser and plug-in support.
*Some Firefox add-ons can be installed.
*GNOME Shell 43-44 is the last version to use CPU instead of GPU.
*Hardware with external graphics card is better.✅

Quick as a Fox: Firefox keeps getting faster (October 31, 2023)
https://blog.mozilla.org/en/products/qu ... ing-faster

Mozillateam official PPA, For Getting latest versions.
sudo add-apt-repository ppa:mozillateam/ppa

Last edited by sucuklu yumurta on Sat Jan 13, 2024 1:38 am, edited 218 times in total.

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

User avatar
pp4mnklinux
Posts: 1140
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 638 times
Been thanked: 289 times

Re: All about:config Settings

Post by pp4mnklinux »

Hi @sucuklu yumurta :

I am a Firefox User and I like it a lot, because you can configure it the way u want, but...

...you have so many configs for so many different pc's that in the end it will we a Try and Pray...haha

I tried with all sorts of cache configurations, save them, not to save, delete when closing FF, using ccleaner, using a lot of addons... and in the end, the best one for me was.... https://github.com/TenSoja/clear-cache CLEAR CACHE

For our next distro, we are working with FF 114 personalized.... take a look at this advanced image.

Have a nice day.

PP4MNK

williwaw
Posts: 1973
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 372 times

Re: All about:config Settings

Post by williwaw »

are the configs saved in a file you can just "drop in" when setting up?

User avatar
pp4mnklinux
Posts: 1140
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 638 times
Been thanked: 289 times

Re: All about:config Settings

Post by pp4mnklinux »

@williwaw I can be wrong, but as much as I know,in this broswer, Firefox , the "about:config" page is not saved as a separate file, It is a built-in configuration interface so the settings you modify through this interface are stored in the browser's profile directory.

The location of the profile directory varies depending on the operating system you are using, I can't remember where could they be saved when using puppy , it's possible other puppy user could be more detailed than me.

Have a nice day.

___________________ edited _______________________________

I think they are located here:

/home/spot/.mozilla/firefox/skacmsvz.default-release (at muy pc, its called skacmsvz , but these are random characters and in your computer they can be ueyrdfiy or lkdsjfkjdsi or whatever they want hahahha)

PP4MNK

williwaw
Posts: 1973
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 372 times

Re: All about:config Settings

Post by williwaw »

thanks PP4
@sucuklu yumurta
for performance, did you see?
https://github.com/puppylinux-woof-CE/w ... XUPHACK#L6

User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

Re: All about:config Settings

Post by sucuklu yumurta »

@pp4mnklinux
Found it now
usr/share/firefox/browser/defaults/prefences
*firefox.js I think it's all here, there are many
and others
*debugger.js
*firefox-branding.js
*vendors.js

:thumbup:

https://winaero.com/disable-firefox-cap ... refox-com/

Tip: In About:Config, you can also set Update captivedetect.canonicalURL to an empty string. You can also add the detectportal.firefox.com domain to your hosts file pointing to 127.0.0.1. This will block the connection.

Finally, there are some more domains you may want to add to the hosts file. They are also serve for internal Firefox needs, e.g. for collecting stats and telemetry. They are not required for regular browsing tasks and receiving browser updates. Here is the list:

ostats.mozilla.com
sostats.mozilla.com
metrics.mozilla.com
hardware.metrics.mozilla.com
incoming.telemetry.mozilla.org
crash-stats.mozilla.com
experiments.mozilla.org
getpocket.cdn.mozilla.net
qsurvey.mozilla.com
telemetry.mozilla.org
telemetry-experiment.cdn.mozilla.net
detectportal.firefox.com

Last edited by sucuklu yumurta on Sat Feb 03, 2024 7:52 am, edited 3 times in total.

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

Re: All about:config Settings

Post by sucuklu yumurta »

williwaw wrote: Sat Jun 10, 2023 5:31 pm

thanks PP4
@sucuklu yumurta
for performance, did you see?
https://github.com/puppylinux-woof-CE/w ... XUPHACK#L6

I got it, if there's something different I'll add it. :thumbup:

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

Burunduk
Posts: 257
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 127 times

Re: All about:config Settings

Post by Burunduk »

williwaw wrote: Sat Jun 10, 2023 5:31 pm

for performance, did you see?
https://github.com/puppylinux-woof-CE/w ... XUPHACK#L6

Some of the problems introduced by this puppy.cfg file have been discussed in viewtopic.php?t=8350 and viewtopic.php?t=7683&start=90.

It's hard to say about performance but this defaultPref("general.smoothScroll", false); makes my firefox completely unusable for me. If I hadn't used firefox for a long time, I would've ditched such a foul piece of software immediately without going to understand that it's just a custom puppy specific setting.

---

@sucuklu yumurta :
This is an impressive amount of preferences. It might be useful to put them in a file similar to the mentioned above puppy.cfg or in a user.js as described here: https://github.com/pyllyukko/user.js
Edit: Maybe it's worth to remind here how user.js works: firefox reads and applies the settings from it every time it starts. However, they are copied to the internal database and therefore stay active even if the user.js file is deleted. It's recommended to make a backup of the profile directory before putting this file in it.

---

Speaking of disk space used by firefox, I've recently noticed that the biggest file in my firefox profile is storage-sync-v2.sqlite-wal. It starts from 32 KB and grows up to 32 MB by 32 KB at every program launch. 32 MB is a limit set by a firefox compile option. Deleting it directly can corrupt the database. Possible workarounds are here. I don't fully understand them but it seems a brief connection to the database is enough to remove the file. This script does that (to be put in /root/Startup/):

Code: Select all

#!/bin/sh

# remove storage-sync-v2.sqlite-wal file from the firefox profile directory (requires sqlite3)

pgrep firefox || find /root/.mozilla -name storage-sync-v2.sqlite -exec sqlite3 {} .databases \;
Last edited by Burunduk on Sun Jun 11, 2023 1:44 am, edited 1 time in total.
User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

Re: All about:config Settings

Post by sucuklu yumurta »

wrote:

@sucuklu yumurta :
This is an impressive amount of preferences. It might be useful to put them in a file similar to the mentioned above puppy.cfg or in a user.js as described here: https://github.com/pyllyukko/user.js
Edit: Maybe it's worth to remind here how user.js works: firefox reads and applies the settings from it every time it starts. However, they are copied to the internal database and therefore stay active even if the user.js file is deleted. It's recommended to make a backup of the profile directory before putting this file in it.

My goal is to use it as nopupsave when this settings file is finished. Firefox/usr/share/firefox/browser/defaults/prefences
I want to throw it in and make 2 sfs, am I wrong?
Please correct me if I am wrong.
Regards

Last edited by sucuklu yumurta on Mon Jun 12, 2023 6:05 pm, edited 1 time in total.

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

User avatar
Fossil
Posts: 71
Joined: Sun Feb 12, 2023 11:33 am
Location: Beyond 'Reasonable Doubt'
Has thanked: 13 times
Been thanked: 31 times

Re: All about:config Settings

Post by Fossil »

@sucuklu yumurta A comprehensive security orientated 'drop-in' user.js can be found here:
https://github.com/arkenfox/user.js
As always, use at your own risk!

User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

Re: All about:config Settings

Post by sucuklu yumurta »

Fossil wrote: Tue Jun 13, 2023 10:00 am

@sucuklu yumurta A comprehensive security orientated 'drop-in' user.js can be found here:
https://github.com/arkenfox/user.js
As always, use at your own risk!

Thank you, I wondered one thing, can all the user.js settings be added to usr/share/firefox/browser/defaults/prefences firefox.js ?
I mean, I wasn't talking about the profile in the place with the random name
I'm talking about something that can be useful for everyone

Regards

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

User avatar
xenial
Posts: 504
Joined: Mon Jul 13, 2020 7:41 am
Location: Lincolnshire.UK.
Has thanked: 92 times
Been thanked: 41 times

Re: All about:config Settings

Post by xenial »

Just a reminder,
always a good idea to make a backup of the user.js file in case of upset.

As for the arkenfox.js..i believe that this is what constitutes librewolf as this is the settings it basically uses.

User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

Re: All about:config Settings

Post by sucuklu yumurta »

xenial wrote: Wed Jun 14, 2023 8:52 am

Just a reminder,
always a good idea to make a backup of the user.js file in case of upset.

As for the arkenfox.js..i believe that this is what constitutes librewolf as this is the settings it basically uses.

Thaks
I found the settings here prefs.js
Will it work if I put the prefs.js file in the opt/firefox/defaults/pref folder and pack Firefox with sfs that way ?

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

Burunduk
Posts: 257
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 127 times

Re: All about:config Settings

Post by Burunduk »

sucuklu yumurta wrote: Wed Jun 14, 2023 8:53 pm

I found the settings here prefs.js
Will it work if I put the prefs.js file in the opt/firefox/defaults/pref folder and pack Firefox with sfs that way ?

prefs.js from your firefox profile will not work in the folder where firefox is installed (opt/firefox/defaults/pref).

Preferences in prefs.js and user.js start with user_pref(...
Preferences in <any-name>.js in opt/firefox/defaults/pref should start with pref(...

You can run a simple command to remove the user_ prefix: sed -i.bak 's/^user_//' prefs.js or use your text editor "find and replace" feature.

More information on how the firefox preferences should be handled is here: https://github.com/pyllyukko/user.js#installation

xenial wrote: Wed Jun 14, 2023 8:52 am

Just a reminder,
always a good idea to make a backup of the user.js file in case of upset.

The user.js file in the profile directory is usually left untouched. The actual modified settings are stored in the prefs.js file that is more worthy to get backed up. Other important information (extension settings and data, bookmarks, history, logins) is kept in different files. So it's generally a good idea to make a backup of the whole profile directory.

User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

Re: All about:config Settings

Post by sucuklu yumurta »

Burunduk wrote: Wed Jun 14, 2023 10:59 pm

The user.js file in the profile directory is usually left untouched. The actual modified settings are stored in the prefs.js file that is more worthy to get backed up. Other important information (extension settings and data, bookmarks, history, logins) is kept in different files. So it's generally a good idea to make a backup of the whole profile directory.

Thaks
Exactly, that's what confuses me.
The objective is simple:
for nopupsave 2 or 3 plugins + Bookmark + edit-config + sfs pack
KISS philosophy, so I thought Puppy might be good for Linux

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

User avatar
8Geee
Posts: 376
Joined: Wed Jul 29, 2020 10:52 pm
Location: N.E. USA
Has thanked: 17 times
Been thanked: 55 times

Re: All about:config Settings

Post by 8Geee »

One does not have to be addicted to updates. I find the use of an ESR version of Firefox works well. But a "distribution" folder is needed to stop updates. With older pups, this HAS too be done, AtomicPup for example (netbooks 2008-12) uses FF78.15esr with a distribution folder to stop updates.

Even some of the addons need to shut-off automatic updates... things like libc get deprocated, REQUIRING newer version. OOPS, the addon messed up/doesn't work... most recent is uBlock. libc-2.23 don't make it anymore and some important things, like user-chosen blocking gets locked out! Atomic Pup is at a safe v. 1.45.2 (IIRC 1.46.x is last version for libc-2.23).

Regards
8Geee

Money talks... no, it shouts, so that it doesn't have to hear common sense.

User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

Re: All about:config Settings

Post by sucuklu yumurta »

8Geee wrote: Thu Jul 06, 2023 4:50 pm

One does not have to be addicted to updates. I find the use of an ESR version of Firefox works well. But a "distribution" folder is needed to stop updates. With older pups, this HAS too be done, AtomicPup for example (netbooks 2008-12) uses FF78.15esr with a distribution folder to stop updates.

Thanks,
I tried the 78 version, there may be incompatibility on some sites, I tried with plugins, but I couldn't do it, what file and caller should be for 2 plugins to be pre-installed ?
-----------
20 Jul 2023
I'm writing from Firefox version 77, for basic navigation I can't see any difference between it and the latest browser, it works fine
Firefox 77 sürümünden yazıyorum, temel gezinti için en güncel tarayıcı ile arasında bir fark göremedim, sorunsuz gidiyor

Regards

Last edited by sucuklu yumurta on Wed Jul 19, 2023 10:09 pm, edited 1 time in total.

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

User avatar
8Geee
Posts: 376
Joined: Wed Jul 29, 2020 10:52 pm
Location: N.E. USA
Has thanked: 17 times
Been thanked: 55 times

Re: All about:config Settings

Post by 8Geee »

I don't understand the meaning of "plugin", the generic Distribution Folder as down load is either here or in the old forum (search for it). The Addons needed are uBlock, and ClearURL. 78.15 esr works great here IF you remove the junk from "newtabpage", and disable autocomplete, telemetry, and geo-location.

Regards
8Geee

Money talks... no, it shouts, so that it doesn't have to hear common sense.

User avatar
sucuklu yumurta
Posts: 159
Joined: Thu Mar 09, 2023 3:12 am
Location: France
Has thanked: 321 times
Been thanked: 27 times

Re: All about:config Settings

Post by sucuklu yumurta »

I mean "plugin" I mean "extensions", I'm trying to install the initial adrv=Firefox with 2 plugins, maybe I'll find it by trial and error
---
''plugin'' yani ''extentions'' demek istedim, başlangıçtaki adrv=Firefox'u 2 tane eklenti ile kurmaya çalışıyorum, deneme yanılma yöntemiyle bulurum belki
:thumbup:
regards

Acer Aspire One AO751h Netbook Intel Atom CPU Z520 1.33 GHz:1-1 core 2 GB+2 GB Swap SSD. Sony 5200 mAh: BullseyePup 9.1.0 Lite on Kingston SSD Frugal
Acer Aspire 3 A315-58-34HD 8 GB DDR4 4.10 GHz Intel Core i3-1115G4 CPU 2-4 128 GB SSD: BookwormPup64

User avatar
8Geee
Posts: 376
Joined: Wed Jul 29, 2020 10:52 pm
Location: N.E. USA
Has thanked: 17 times
Been thanked: 55 times

Re: All about:config Settings

Post by 8Geee »

Because of the addons, I install the browser in ROOT. no need for adrive sfs. But thats a rather permanent solution... but good for slacko7.0

regards
8Geee

Money talks... no, it shouts, so that it doesn't have to hear common sense.

Post Reply

Return to “Security”