Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dronecatcher

macrumors 603
Original poster
Jun 17, 2014
5,209
7,783
Lincolnshire, UK
One of the issues that has prevented me from using TenFourFoxBox to create apps using mobile websites and turning to Fluid apps instead (Leopard only), is the bug from TFFB ignoring the mobile device user agent I've set up in TFF (or any user agent in fact) - it always uses the default.
An example is a FoxBox app made for Youtube mobile site - even though the app points to http://m.youtube.com, the app is interrogated by the site and the desktop version is served up instead.

I've found the issue and it is relevant to anyone who uses TFFB, has a tweaked version of TFF and/or wants to use a different user agent.
When a new FoxBox is created, rather than use the existing preference file from TFF, it creates a new one - so any tweaks set up in TFF are ignored.

To remedy this, after running your FoxBox the first time, quit, go your home folder, Library/Application Support/***the name of your FoxBox***/Profiles/******.default/ from here, delete prefs.js and replace it with a copy of the same file from your Application Support/Firefox folder.
Now you will have a working FoxBox running all your TFF tweaks.
 

Altemose

macrumors G3
Mar 26, 2013
9,189
487
Elkton, Maryland
To remedy this, after running your FoxBox the first time, quit, go your home folder, Library/Application Support/***the name of your FoxBox***/Profiles/******.default/ from here, delete prefs.js and replace it with a copy of the same file from your Application Support/Firefox folder.

This also will allow you to use the performance tweaks that @eyoungren has developed inside of your FoxBox apps. Great find @Dronecatcher!
 
  • Like
Reactions: eyoungren
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.