Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
The ‘Clean prefs.js’ file eyoungren linked in post #1 started with a virgin prefs.js file in a fresh TenFourFox install on my PowerBook G4. Working with eyoungren the virgin file was edited to include all the speed and security tweaks contained in the first 149 posts of this thread.

The linked file is a zip file that contains both the virgin prefs.js and modified prefs.js files.
 
The ‘Clean prefs.js’ file eyoungren linked in post #1 started with a virgin prefs.js file in a fresh TenFourFox install on my PowerBook G4. Working with eyoungren the virgin file was edited to include all the speed and security tweaks contained in the first 149 posts of this thread.

The linked file is a zip file that contains both the virgin prefs.js and modified prefs.js files.
I added this to post #1. ;)
 
A few new ones I took from this page: http://www.techworm.net/2016/02/12-...-tips-and-tricks-to-protect-your-privacy.html

Like the previous privacy tweak these seem to speed things up slightly. Not that disabling some of them while increasing privacy decreases security.

geo.enabled = false
browser.safebrowsing.enabled = false
browser.safebrowsing.malware.enabled = false
dom.event.clipboardevents.enabled = false
browser.send_pings = false
dom.battery.enabled = false

Speedy! :)
[doublepost=1462049057][/doublepost]My personal prefs file has been updated in Dropbox with the changes in post #157.
 
Last edited:
No, he's meaning this thread: https://forums.macrumors.com/threads/reconnect-unsupported-leopard-macs-to-dropbox.1865621/

And I would agree about getting it stickied but I'm not sure if I've used up my quota with the mods or not. They are very choosy about what they will allow to be stickied or not. We got lucky with this one already I think.

Didn't know this got stickied since I'm on Tapatalk most of the time... Congrats! This is definitely helpful for newcomers. I've mentioned it often, but i use this on every single PPC machine i own that uses TFF, either @Altemose's simplified version, or Hack's new fresh full version on my Cube and TiBook.
 
  • Like
Reactions: eyoungren
Erik advised me today that 2 of his tweaks were missing from v2 & v3 of the clean prefs.js files.

v5 of the the ‘Clean prefs.js’ file has been updated to include the missing tweaks and all the speed and security tweaks from the first 157 posts of this thread. Download link is in post #1.

If your already using v2 or v3 you can add these by going into about:config, search for the following 2 settings and make them both FALSE.

browser.cache.disk.enable
browser.cache.memory.enable

Sorry about the oversight . . . :oops:
 
Last edited:
  • Like
Reactions: eyoungren
Two to try…

browser.tabs.remote: true (Create a new boolean if this setting does not exist)
browser.tabs.remote.autostart: true

Both settings enable Electrolysis, Firefox's multithreading. This separates processes. Plugins run in their own process off the main thread, etc.

Give it a try.
[doublepost=1465008444][/doublepost]And three more to try…

image.mem.allow_locking_in_content_processes: false
font.size.inflation.disabledInMasterProcess: true
dom.ipc.reportProcessHangs: false
 
I tried your prefs file a few months ago, and it mostly works great - except I don't see any more checkboxes on websites. They show up as small boxes with four letters in them. Is there an about:config command I can reverse on this?
 
I tried your prefs file a few months ago, and it mostly works great - except I don't see any more checkboxes on websites. They show up as small boxes with four letters in them. Is there an about:config command I can reverse on this?
In your preferences, under Content:Fonts & Colors/Advanced, make sure the option "Allow pages to choose their own fonts, instead of my selections above" is checked.
 
My prefs file will be updated later today to reflect the last five changes mentioned above.

EDIT: Updated now.
 
Last edited:
With this post I'm introducing user.js, a easy way to add / maintain tweaks in your TenFourFox (TFF) prefs.js file.

The file, user.js is read by TFF each time you start TFF. TFF will copy preferences from the user.js file to the prefs.js file (provided they are located in the same profile directory).

As new tweaks are introduced, a new version of the user.js file will be released.

Adding or replacing a user.js file will NOT affect your add-on's or preference settings.

The 1st release of user.js includes all the speed and security tweaks contained in the first 165 posts of this thread and is available for download here -> https://www.dropbox.com/s/nk1385ssqmbm81k/user.js.zip?dl=0

===============================================================

New TFF user - Boot TFF allowing it to create a (virgin) prefs.js file. Copy user.js to your profile directory and restart TFF.

TFF user wanting to start using user.js - Copy user.js to your profile directory and boot / restart TFF.

TFF user wanting to update tweaks and settings - Copy user.js to your profile directory and boot / restart TFF.

TFF user wanting to reset all tweaks and settings - Delete the prefs.js and user.js files from your profile directory. Boot TFF allowing it to create a new (virgin) prefs.js file. Copy user.js to your profile directory and boot / restart TFF.

===============================================================

How to find your profile directory - In TFF open the Help menu, then Troubleshooting Information and look for the "Show in Finder" button beside "Profile Folder"

Because TFF reads the user.js file each time you start TFF, you can safely delete or rename user.js after the prefs have been read. This might make TFF startup faster.

===============================================================

Please note that with the introduction of user.js, maintenance of my ‘Clean prefs.js’ file is planned to be stopped. The ‘Clean prefs.js’ file was primarily of use to new TFF users. Replacing your prefs.js with the clean file would replace all your preference settings. The user.js file doesn't affect your preference settings and it's easier (for me) to maintain :D.
 
Last edited:
With this post I'm introducing user.js, a easy way to add / maintain tweaks in your TenFourFox (TFF) prefs.js file.

The file, user.js is read by TFF each time you start TFF. TFF will copy preferences from the user.js file to the prefs.js file (provided they are located in the same profile directory).

As new tweaks are introduced, a new version of the user.js file will be released.

Adding or replacing a user.js file will NOT affect your add-on's or preference settings.

The 1st release of user.js includes all the speed and security tweaks contained in the first 165 posts of this thread and is available for download here -> https://www.dropbox.com/s/nk1385ssqmbm81k/user.js.zip?dl=0

===============================================================

New TFF user - Boot TFF allowing it to create a (virgin) prefs.js file. Copy user.js to your profile directory and restart TFF.

TFF user wanting to start using user.js - Copy user.js to your profile directory and boot / restart TFF.

TFF user wanting to update tweaks and settings - Copy user.js to your profile directory and boot / restart TFF.

TFF user wanting to reset all tweaks and settings - Delete the prefs.js and user.js files from your profile directory. Boot TFF allowing it to create a new (virgin) prefs.js file. Copy user.js to your profile directory and boot / restart TFF.

===============================================================

Please note that with the introduction of user.js, maintenance of my ‘Clean prefs.js’ file is planned to be stopped. The ‘Clean prefs.js’ file was primarily of use to new TFF users. Replacing your prefs.js with the clean file would replace all your preference settings. The user.js file doesn't affect your preference settings and it's easier (for me) to maintain :D.

Very nicely done!
 
Can this be applied to Firefox on SnowLeopard?
Yes. None of these tweaks/procedures are specific to TenFourFox or PowerPC. I use one of the clean prefs from Hack5190 on my Yosemite MacPro at work.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.