Is it possible to load userContent.css with PWAs? #105
-
@filips123 I'm trying to style a website I've now installed as PWA with usercontent.css, but I'm unable to do the same. In stock firefox, userContent.css is placed inside the chrome folder in target profile. Where do I place userContent.css for PWAs I've created? Also, I'd like to modify browser chrome to my liking as well. Can userChrome.css be used for the same? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
PWA profiles are in
The default profile is
|
Beta Was this translation helpful? Give feedback.
-
@filips123 Thanks a lot! Was an oversight on my part. I had enabled css modifications with a user.js file, yet wasn't copying over all the css files from existing firefox installation. userChrome.css too works as intented, except when at conflict with existing mods, as you mentioned. One more question, if you don't mind. Would it be possible to load some userchromejs scripts as well? (I've been using some from https://github.com/aminomancer/uc.css.js) |
Beta Was this translation helpful? Give feedback.
PWA profiles are in
%APPDATA%\FirefoxPWA\profiles\
$XDG_DATA_HOME/firefoxpwa/profiles/
or$HOME/.local/share/firefoxpwa/profiles/
$HOME/Library/Application Support/firefoxpwa/profiles/
The default profile is
00000000000000000000000000
, other profiles will also have similar identifiers. To accessabout:config
to enable CSS modifications, you can pressF6
inside a PWA and then enterabout:config
.userChrome.css
may also work, but it may also conflict with some other modifications done by PWAsForFirefox itself.