![]() 3 Internationalization and localization.A good way is to use the number of the pref's section. With -merge it's best to always add a comment behind your overrides to make them easily noticeable when you compare your new user.js with one of your backups. the special comment-out command was also appended at the bottom as a reminder that you gave that command.4504 was commented out and the original value and comment are kept intact.0801 was merged with the override, including the comment from the overrides file.Instead the override was appended at the bottom. 0405 was not merged because it's inactive in the user.js.* 0405: disable "ignore this warning" on SB warnings ***/ // user_pref("", false) /* 0801: disable location bar using search ***/ user_pref ( "keyword.enabled", true ) // 0801 - I use a privacy respecting engine /* 4504: enable RFP letterboxing ***/ //user_pref("", true) // /*** my user.js overrides ***/ user_pref ( "", false ) // 0405 - remove SB bypass button //// - comment-out - '' -4504- too distracting The following example illustrates how -merge works: v4.5+ supports commenting-out active user_pref lines (see example below).When there are conflicting records for the same pref, the value of the last one declared will be used.It contains only the merged data from override files and can be safely discarded after updating, or used as the new user-overrides.js. When -Merge and -MultiOverrides are used together, a user-overrides-merged.js file is also generated in the root directory for quick reference.Overrides for inactive (commented out) user.js prefs will be appended.-Merge merge overrides instead of appending them.-LogP just like -Log but also open the logfile after updating.-log write the console output to the logfile.-updatebatch the updater will auto-update itself on execution.-unattended run the script without user-input.This was the default behavior before v4.3 -singleBackup use a single backup file and overwrite it on new updates, instead of cumulative backups.Files are appended in alphabetical order. js files in a user.js-overrides sub-folder as overrides instead of the default user-overrides.js file. -esr activate ESR-related preferences (new in v4.8). ![]() !! Unicode encoded override files should be stored without the BOM header !!Īvailable command-line parameters (case-insensitive): You can run it without any command line arguments and it will backup your current user.js, download the latest arkenfox user.js and if it finds a user-overrides.js in the same folder it will append that to the user.js. Unzip, run the msu file and follow the instructions (reboot required)Äownload the updater.bat script and save it in your profile folder.Click Download and select the appropriate file: e.g.Windows 7: if the updater.bat doesn't work, you need to update PowerShell by upgrading to WMF 5.1.You will need updater.bat version 4.13 or higher.r Only download user.js to a temporary file and open it c Create a diff file comparing old and new user.js n Do not append any overrides, even if user-overrides.js exists IMPORTANT: if any files/paths include spaces, wrap the entire argument in quotes! IMPORTANT: do not add spaces between files/paths! Ex: -o file1.js,file2.js,dir1 You can pass multiple files or directories by passing a comma separated list. If given a directory, all *.js files inside will be appended recursively. If used with -p, paths should be relative to PROFILE or absolute paths. o OVERRIDE Filename(s) and/or path(s) to override file(s) (if different than user-overrides.js). u Update updater.sh and execute silently. ![]() (will auto-select the profile if only 1 exists) l Choose your Firefox profile from a list. IMPORTANT: if the path include spaces, wrap the entire argument in quotes! p PROFILE absolute path to your Firefox profile (if different than the dir of this script) ![]()
0 Comments
Leave a Reply. |