From e1c533d84e124126782e7554a71691f604c22be7 Mon Sep 17 00:00:00 2001 From: Seth Falco Date: Sun, 23 Jul 2023 21:52:36 +0100 Subject: [PATCH] fix: don't override user-agent (MR 34) --- README.md | 1 - src/mobile-config-autoconfig.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/README.md b/README.md index a8eac08..b314381 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ This does not replace a proper implementation in * Adapt UI elements and "about:" pages to small screen sizes (when opened on small screen) * Enable mobile gestures -* User agent set to same as Tor Browser for Android * Privacy tweaks: * Disable search suggestions * Disable Firefox studies diff --git a/src/mobile-config-autoconfig.js b/src/mobile-config-autoconfig.js index 3b0fce9..f7f4dd7 100644 --- a/src/mobile-config-autoconfig.js +++ b/src/mobile-config-autoconfig.js @@ -265,9 +265,6 @@ function css_files_update() { function set_default_prefs() { log("Setting default preferences"); - // Select a mobile user agent for firefox (same as tor browser on android) - defaultPref('general.useragent.override', 'Mozilla/5.0 (Android 10; Mobile; rv:110.0) Gecko/110.0 Firefox/110.0'); - // Do not suggest facebook, ebay, reddit etc. in the urlbar. Same as // Settings -> Privacy & Security -> Address Bar -> Shortcuts. As // side-effect, the urlbar results are not immediatelly opened once