I am a long-time user of firefox. I am currently running firefox 103.0.1 (64 bit).
Seeking to migrate to the portable apps version of firefix, I am not sure where I should place the userChrome.css data file that I have tweaked to customize a couple of firefix settings (menu bar and button bar heights, tab shading, etc.).
Can you advise me where I should locate that file?
Anything talking about the local profile folder - usually something like C:\Users\YourUserName\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default - you can use your FirefoxPortable\Data\profile directory for.
Sometimes, the impossible can become possible, if you're awesome!
I have installed firefox portable into this folder: C:\Freeware\FirefoxPortable
I have copied my userChrome.css file from C:\Users\Larry\AppData\Roaming\Mozilla\Firefox\Profiles\sjohxyjt.default-release\chrome into both C:\Freeware\FirefoxPortable\Data\profile\chrome and C:\Freeware\FirefoxPortable\Data\profile.
The userChrome.css settings have no affect on firefox portable.
What am I missing?
The correct path to your userChrome.css files would be as follows:
C:\Freeware\FirefoxPortable\Data\profile\chrome Where 'chrome' is a folder and your userChrome.css file should be inside that chrome folder.
You do not need your userChrome.css file in the path C:\Freeware\FirefoxPortable\Data\profile
Use Portable Apps on both Flash Drive and HDD/SSD.
To get Firefox to use the userChrome.css file you need to enable a Firefox preference. Do the following:
As of Firefox 69 loading of userChrome.css and userContent.css files will be switched off by default for new installations of Firefox. To use them it is necessary to do the following:
(1) Go about:config
(2) search for the preference: toolkit.legacyUserProfileCustomizations.stylesheets
(3) Set as true or false. True means Firefox supports the use of CSS files, False that it ignores them.
(4) Shutdown and relaunch Firefox and see if your userChrome.css file is now being used.
Use Portable Apps on both Flash Drive and HDD/SSD.