Created
August 15, 2020 01:53
-
-
Save Xevion/4f164ed20c5456afd240240f6127762c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService); | |
let autocomplete = 'browser.urlbar.autoFill'; | |
let history = 'browser.urlbar.suggest.history'; | |
prefs.setBoolPref(history, !prefs.getBoolPref(history)); | |
prefs.setBoolPref(autocomplete, !prefs.getBoolPref(autocomplete)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment