summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-01-16 20:28:22 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-01-16 20:31:06 -0800
commit94fef3f035beb25752d734b4c2552df44c37900a (patch)
tree17912d42758a95b7a3945ad05bcdbcb84a5314d6 /home
parentfda90b4dae59c9a4521781061d427475e5f154fc (diff)
update
Diffstat (limited to 'home')
-rw-r--r--home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js13
1 files changed, 10 insertions, 3 deletions
diff --git a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
index 7d6482c7..af067eae 100644
--- a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
+++ b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
@@ -78,13 +78,20 @@ user_pref("browser.urlbar.suggest.openpage", false);
// have sites like facebook that I almost never use and not in my bookmark
user_pref("browser.urlbar.suggest.topsites", false);
-// pinephone specific
-user_pref("browser.startup.page", 1);
-user_pref("browser.startup.homepage", "chrome://browser/content/places/bookmarksSidebar.xhtml");
+// a workaround to disable autofocus on address bar, because I may mistype my password into address bar when typing master password
+// pinephone config does not need this, because I set bookmark sidebar as homepage and it does not autofocus on address bar
+// https://www.freecodecamp.org/news/what-are-bookmarklets
+// no need anymore because I switched to pass
+//user_pref("browser.startup.page", 1);
+//user_pref("browser.startup.homepage", "javascript:");
// I switched to pass, no need firefox password manager anymore
user_pref("signon.rememberSignons", false);
// no need credit card save and autofill
user_pref("extensions.formautofill.creditCards.enabled", false); // [FF56+]
+// pinephone specific
+user_pref("browser.startup.page", 1);
+user_pref("browser.startup.homepage", "chrome://browser/content/places/bookmarksSidebar.xhtml");
+
user_pref("_user.js.parrot", "custom overrides: finished");