You are here

Firefox Portable - userChrome.css ???

5 posts / 0 new
Last post
LJB
Offline
Last seen: 1 year 8 months ago
Joined: 2022-08-08 16:15
Firefox Portable - userChrome.css ???

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?

John T. Haller
John T. Haller's picture
Online
Last seen: 56 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Profile folder

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!

LJB
Offline
Last seen: 1 year 8 months ago
Joined: 2022-08-08 16:15
I have installed firefox

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?

Abraxian
Offline
Last seen: 16 hours 4 min ago
Joined: 2010-08-18 10:40
Correct Path

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.

Abraxian
Offline
Last seen: 16 hours 4 min ago
Joined: 2010-08-18 10:40
Set a Preference and See if it Cures Your Issue

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.

Log in or register to post comments