Continuing the discussion from
Mobile-Friendly Firefox Customizations for Librem 5:
Sorry, but I am not interested. This forum is a simple place to post my code for others, and I don’t want to complicate things with repos and hosting fees. I made this code for myself and decided to share it here for other Librem 5 users. Everyone is free to share or host this code wherever they want.
Taking up your suggestion
@user0, I consolidated all your work into a Git repository and published it at Codeberg:
What is this?
What I did is pick up all files from the thread, identify the upstream revisions that user0’s changes are most likely based on, and merged it all together into a reconstructed timeline.
So you can download all files in one single tarball instead of plucking them from the thread one by one.
To make user0’s work future proof: Anyone can fork the repository, make their own changes, track future incoming upstream changes more easily, and even contribute some of user0’s modifications back to the upstream projects, or possibly to PureOS.
Here’s a simplified timeline:
It all started at
version 4.0.1 of postmarketOS/mobile-config-firefox.
Several files were then added from revision
21750e2 of MrOtherGuy/firefox-csshacks:
Several commits follow, which track user0’s contributions from May through August 2023. These are largely obsolete, but I recorded them anyway for completeness:
version 4.2.0 of postmarketOS/mobile-config-firefox was then picked up:
A commit that tracks user0’s September contributions – again, just for completeness:
And most importantly, a commit that represents
the current set of files, the October 2023 Halloween Update:
See the same
timeline of commits on Codeberg’s web interface.
How to use the files
See the original
I still haven’t gotten around to actually installing and using the files myself.
But I think I’ll be tackling them soon.
Maybe some of you folks are going to find this repository useful.
Pinging @ThisGuy and @tfardet, who have asked for one in the past.
You can find the current set of files in the src/userChrome and src/userContent directories.
Thanks again for your work
Thank you for making this!
Embarrassingly, I had made a typo in the
true_mobile_mode.css file on
should be this:
This literally just raises the Main App Menu (≡) button by one pixel when using “Touch” density mode.
There is also line of code in two
dynamic_popups files that must be changed:
Line 52 of
Line 66 of
--panel-background: none !important;
should be this:
/* Default color: */
/*--panel-background: var(--arrowpanel-background) !important;*/
/* Fenix color: */
--panel-background: var(--toolbar-bgcolor) !important;
This is needed because setting the
none negatively affected the extension/addon download and install popups.
Thanks again for making this mirror!
I was able to finally fix the Tab Manager Menu in landscape mode so that it fully expands to fit the popup. I have noted this in the
Final Updates (post 61).