2020-08-06 14:39:33 +00:00
|
|
|
// Copyright 2020 Oliver Smith, Martijn Braam
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2020-08-06 13:07:15 +00:00
|
|
|
// Select a mobile user agent for firefox (same as tor browser on android)
|
|
|
|
pref('general.useragent.override', 'Mozilla/5.0 (Android 6.0; Mobile; rv:68.0) Gecko/20100101 Firefox/68.0');
|
|
|
|
|
|
|
|
// Enable android-style pinch-to-zoom
|
|
|
|
pref('dom.w3c.touch_events.enabled', true);
|
|
|
|
pref('apz.allow_zooming', true);
|
|
|
|
pref('apz.allow_double_tap_zooming', true);
|
|
|
|
|
|
|
|
// Disable search suggestions
|
|
|
|
pref('browser.search.suggest.enabled', false);
|
|
|
|
|
|
|
|
// Empty new tab page: faster, less distractions
|
|
|
|
pref('browser.newtabpage.enabled', false);
|
2020-08-06 13:55:07 +00:00
|
|
|
|
|
|
|
// Allow UI customizations with userChrome.css and userContent.css
|
|
|
|
pref('toolkit.legacyUserProfileCustomizations.stylesheets', true);
|
2020-08-10 08:29:57 +00:00
|
|
|
|
|
|
|
// Select the entire URL with one click
|
|
|
|
pref('browser.urlbar.clickSelectsAll', true);
|
|
|
|
|
|
|
|
// Disable cosmetic animations, save CPU
|
|
|
|
pref('toolkit.cosmeticAnimations.enabled', false);
|
|
|
|
|
|
|
|
// Disable download animations, save CPU
|
|
|
|
pref('browser.download.animateNotifications', false);
|