gjdwebserver-overlay/app-mobilephone/pinephone-meta/files/manjaro.cfg

84 lines
3.2 KiB
INI
Executable File

// Default configuration for Manjaro
pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[\"stop-reload-button\",\"home-button\"],\"nav-bar\":[\"back-button\",\"forward-button\",\"urlbar-container\",\"customizableui-special-spring2\",\"downloads-button\",\"library-button\",\"sidebar-button\",\"fxa-toolbar-menu-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"personal-bookmarks\"]},\"seen\":[\"developer-button\"],\"dirtyAreaCache\":[\"nav-bar\",\"toolbar-menubar\",\"TabsToolbar\",\"PersonalToolbar\",\"widget-overflow-fixed-list\"],\"currentVersion\":16,\"newElementCount\":4}");
pref("browser.uidensity", 1);
pref("dom.w3c.touch_events.enabled", true);
pref("webchannel.allowObject.urlWhitelist", "https://accounts.firefox.com https://content.cdn.mozilla.net https://input.mozilla.org https://support.mozilla.org https://install.mozilla.org");
// Hide tab icons
//
// Default value: true
// Goal: Save space
pref("browser.chrome.site_icons", false);
// Select an entire URL when clicking the address bar.
//
// Default value: false
// Goal: Enter a new phrase or URL faster
pref("browser.urlbar.clickSelectsAll", true);
// Reduce the number of suggestions in the address bar.
//
// Default value: 10
// Goal: Save space
pref("browser.urlbar.maxRichResults", 5);
// Firefox is optimized for desktop.
// Some desktop optimizations might slow things on mobile.
// We should especially reduce CPU and RAM usage.
// Reduce the number of content processes.
//
// The more content processes you have,
// the more CPU and RAM will be assigned to each tab.
//
// Source: https://bit.ly/3dc4A7W
// Defualt value: 4
// Goal: Save CPU and RAM.
pref("dom.ipc.processCount", 1);
// Disable unnecessary animations.
//
// Source: https://bit.ly/3dc4A7W
// Default value: true
// Goal: Save CPU
pref("toolkit.cosmeticAnimations.enabled", false);
pref("browser.download.animateNotifications", false);
// Disable prefetching.
//
// Source: https://bit.ly/3dc4A7W
// Default value: true
// Goal: Save bandwith
pref("network.prefetch-next", false);
// Limit content redraws.
//
// While this helps the browser feel snappy,
// frequent redraws increase the total page load time,
// so a longer content notify interval will improve performance.
//
// Source: https://bit.ly/3hLX47p
// Default value: 120000 (0.12s) / true
// Goal: Speed up page loading
pref("content.notify.interval", 500000);
pref("content.notify.ontimer", true);
// Reduce the content switch threshold.
//
// If you haven't moved your mouse or touched the keyboard for the given time
// (the content switch threshold) then Firefox enters a low frequency interrupt mode,
// which means its interface becomes less responsive but your page loads more quickly.
//
// Source: https://bit.ly/3hLX47p
// Default value: 750000 (0.75s)
// Goal: Speed up page loading
pref("content.switch.threshold", 250000);
// Reduce the number of visited web pages stored in memory,
// which you can access using the Back and Forward buttons.
//
// Source: https://bit.ly/3dc4A7W
// Default value: -1 (adaptable)
// Goal: Save RAM
pref("browser.sessionhistory.max_total_viewers", 1);