Commit graph

1131 commits

Author SHA1 Message Date
8cd448564f
Add symbolic link instead of copying css file to userChrome.css 2023-11-20 23:22:25 +01:00
5e0a5a18b6
Move chrome if there 2023-11-20 12:59:20 +01:00
95fb50c322
Fix issue with variables 2023-11-20 12:55:03 +01:00
27cc33b17b
Add deploy-script 2023-11-19 23:07:05 +01:00
1ab8dad512
Merge mobile-config-firefox 2023-11-19 19:08:09 +01:00
4cffee1e06
cleaned from for us unneeded files 2023-11-19 17:55:44 +01:00
7375383755
Moved files from /chrome to /src/userChrome 2023-11-19 17:37:54 +01:00
magdesign
c2b0cfd530 we are there now 2023-11-19 14:08:37 +01:00
bb160e91f5 Update README.md 2023-11-19 13:48:34 +01:00
magdesign
7d9773c475 updated the userChrome and userContent files to at least see some changes 2023-11-19 13:45:31 +01:00
457f7d098e Update README.md 2023-11-19 13:10:49 +01:00
74137fddab Update README.md 2023-11-19 13:09:45 +01:00
magdesign
a3ceb71685 update readme 2023-11-19 13:01:38 +01:00
8a13ef15cb
Add css files from https://forums.puri.sm/t/mobile-friendly-firefox-customizations-for-librem-5/20313 2023-11-19 11:49:14 +01:00
187e40b24c
Initial commit 2023-11-19 11:25:38 +01:00
@user0
bb7659dfda
Add @user0’s contributions as of 2023-10-30 2023-11-12 22:33:55 +01:00
@user0
4f58859466
Add @user0’s contributions as of 2023-09-30 2023-11-12 22:33:52 +01:00
Claudia Pellegrino
eda407cae9
Remove unused userContent files 2023-11-12 22:33:49 +01:00
Claudia Pellegrino
f036c507eb Release 4.2.0
Features:
 * Hide minimize/maximize/close buttons (MR 39)
 * autoconfig: set media.webrtc.camera.allow-pipewire (MR 38)
 
 Other:
 * README: update supported versions
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEVuhTDbWL3IASV/XwWuf1UT4IhcsFAmUH7NUACgkQWuf1UT4I
 hctcwQ/+NRyPe1mBvmRP9nqhhvNFw8nz6eTBe9oEzokI5DsTcgcW41y5JxRR3Wek
 iG2cwePfrAgEKEZYP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0A
 kN62ZvDK0wUXpCXHfIOxREuDkZL1XSx0tfp6JtQF9K3eijglCrbEpMB9KzunglUc
 mlUIl0bZhXy9IndktiFg0aKRCO2fswmwWrS0kc4LPntR2z8Cgja7DN2LZh198s+p
 vQIzcWaECnVN5XO394pLmyEFU+CwROU7n4x/JqBFwBZuHyr6MS2/eXeUOLX49Toz
 URlOH5uohni0yxVyUh567vXE2opm5X0L2OfN1b0rYBPDyMSvpz/s2rxay3BCyNKb
 uXBWkTI7xONqqwipVfsYNyIJro4l0xu/3uf9CAycXspan6RPx349enAtbAaoYh+s
 02sv2mcMkSJ5q1578CaS1lBTt0WkCYegedxP6Df1QtwGhzKDtM8=
 =lm/S
 -----END PGP SIGNATURE-----

Merge tag '4.2.0' into librem5-mirror

Release 4.2.0

Features:
* Hide minimize/maximize/close buttons (MR 39)
* autoconfig: set media.webrtc.camera.allow-pipewire (MR 38)

Other:
* README: update supported versions
2023-11-12 20:06:01 +01:00
@user0
53808dc807
Add @user0’s contributions as of 2023-08-14 2023-11-12 19:36:18 +01:00
@user0
b436b28843
Add @user0’s contributions as of 2023-05-22 2023-11-12 19:36:16 +01:00
@user0
ad06da4868
Add @user0’s contributions as of 2023-05-21 2023-11-12 19:36:12 +01:00
Claudia Pellegrino
e40b13098d
Start mirror of @user0’s contributions 2023-11-12 19:36:09 +01:00
Claudia Pellegrino
b98bae8c5e
Merge 21750e2 from MrOtherGuy/firefox-csshacks 2023-11-12 19:35:34 +01:00
Oliver Smith
a205c5fa64
autoconfig: set media.webrtc.camera.allow-pipewire (MR 38)
As suggested by Robert Mader in issue 57, thanks.
2023-09-15 09:26:12 +02:00
plata
4116b6663b
Hide minimize/maximize/close buttons (MR 39) 2023-09-15 09:23:42 +02:00
Oliver Smith
0187c6c605
README: update supported versions
Thanks to plata-gl for pointing this out. Fix #61.
2023-09-12 09:43:33 +02:00
Ulrik de Muelenaere
94cbe0452d
userChrome/urlbar: Allow urlbar to shrink down to its min width (MR 37)
This fixes one of the issues from #52, but I have not been able to
reproduce the others on Phosh.
2023-09-05 22:55:20 +02:00
Ulrik de Muelenaere
9a34fe3e95
userChrome/urlbar: Prevent urlbar from going past window bottom in FF 117 (MR 36) 2023-09-05 22:53:14 +02:00
Ulrik de Muelenaere
21163be169
autoconfig: Fix error due to Services import in FF 117 (MR 36)
Since Firefox 104 the Services global is available automatically and no
longer needs to be imported, and since Firefox 117 importing it is an
error.
2023-09-05 22:53:14 +02:00
Seth Falco
9c780dabb8
fix: add mobile to user-agent (MR 35) 2023-09-01 16:02:07 +02:00
Seth Falco
e1c533d84e
fix: don't override user-agent (MR 34) 2023-07-23 21:52:36 +01:00
Ulrik de Muelenaere
cc4a4a791b
autoconfig: Fix version detection on first start (MR 32)
Previously the Firefox version would be detected as 0 on the first
start, causing popups.before-ff-108.css to be included even on newer
versions, which breaks touch input.
2023-07-03 15:49:49 +02:00
Ulrik de Muelenaere
3959e7c476
userChrome/tabmenu: Add note to a declaration obsoleted in FF 113 (MR 31)
Firefox 113 changes from 'display: -moz-box' to 'display: flex', so the
-moz-box-flex property should be changed to flex-grow. However, that
breaks the tab menu, and it doesn't seem to be necessary anyway.
2023-05-28 20:27:54 +02:00
Ulrik de Muelenaere
4a53e32a5c
userChrome/tabmenu: Fix max width of tab menu in FF >= 106 (MR 31) 2023-05-28 20:27:54 +02:00
Ulrik de Muelenaere
8cbf7c9e30
userChrome/tabmenu: Fix height of tab menu in FF 113 (MR 31)
Without this fix, the tab menu is only tall enough for 2 or 3 entries.

This is an update of the rule directly above it, changing the ID and
changing from a calculated height to a fixed height matching its child
#allTabsMenu-allTabsView. With the calculated height, the menu entries
were offset above the top of the menu. The previous rule no longer seems
to be necessary, at least in Firefox 102 and newer, since
#allTabsMenu-multiView does not exist.
2023-05-28 20:27:54 +02:00
Ulrik de Muelenaere
3dcfd01d09
userChrome/browser: Fix bottom navigation bar in FF 113 (MR 31)
Firefox 113 changes from 'display: -moz-box' to 'display: flex', so we
need to use the order property instead of -moz-box-ordinal-group.
2023-05-28 20:27:54 +02:00
Oliver Smith
5402fa0f52
README: log file: add tail -F to example 2023-05-28 20:25:35 +02:00
Oliver Smith
758b9c3a17
mobile-config-autoconfig: fix 2x restart
On first start, only restart Firefox once after the files are
installed.

[2023-04-18 07:07:05] Running mobile-config-autoconfig.js
[2023-04-18 07:07:05] Couldn't get Firefox version (expected on first start): TypeError: Services.appinfo.lastAppVersion is null
[2023-04-18 07:07:05] Firefox version: 0 (previous: unknown)
[2023-04-18 07:07:05] Creating CSS file from fragments: /home/user/.mozilla/firefox/ah7sid6m.default-release/chrome/userChrome.css
…
[2023-04-18 07:07:05] Updating previous Firefox version to: 0
[2023-04-18 07:07:05] Triggering Firefox restart
[2023-04-18 07:07:05] Done
[2023-04-18 07:07:11] Running mobile-config-autoconfig.js
[2023-04-18 07:07:11] Firefox version: 102 (previous: 0)
[2023-04-18 07:07:11] Reading fragments from file: /etc/mobile-config-firefox/userChrome.files
[2023-04-18 07:07:11] Fragment with FF version check included: userChrome/popups.before-ff-108.css
[2023-04-18 07:07:11] File is up-to-date: /home/user/.mozilla/firefox/ah7sid6m.default-release/chrome/userChrome.css
[2023-04-18 07:07:11] Reading fragments from file: /etc/mobile-config-firefox/userContent.files
[2023-04-18 07:07:11] File is up-to-date: /home/user/.mozilla/firefox/ah7sid6m.default-release/chrome/userContent.css
[2023-04-18 07:07:11] Updating previous Firefox version to: 102
[2023-04-18 07:07:11] Setting default preferences
[2023-04-18 07:07:11] Done
2023-04-18 09:17:40 +02:00
Oliver Smith
c9a1f7af23
mobile-config-autoconfig: tweak css_files_update
Refactor the condition code, so it's easier to read.
2023-04-18 09:17:40 +02:00
Oliver Smith
aaa603fae7
autoconfig: get_firefox_version: add try…catch
On first run / after:
$ rm ~/.mozilla

The function fails with:
TypeError: Services.appinfo.lastAppVersion is null

Expect the failure so the script doesn't crash.
Revert "autoconfig: get_firefox_version: remove try…catch", but
with another error message.

Without this patch an error shows up when starting Firefox with the
config, until the user manually starts it again.

This reverts commit 2405aabd4c.
2023-04-18 09:17:40 +02:00
MrOtherGuy
21750e272b vertical_bookmarks_toolbar: make placesToolbarItems default to flex
-webkit-box doesn't work correctly in Firefox 112 and 113 so lets
default to flex again and make webkit-box opt-in. It is required for
Fx 114 though, but nightly users need to opt-in to using it.
2023-04-16 12:07:16 +03:00
grreby
b6227bde5f
add links to pmos wiki, add example of network location (MR 30) 2023-04-14 22:09:22 +00:00
MrOtherGuy
97b9f5c3d8 create status_inside_menubar.css 2023-04-14 06:31:27 +03:00
MrOtherGuy
0c1a86cec5 vertical_bookmarks_toolbar: Make PlacesToolbarItems use -webkit-box
This is because scrollbox[orient="horizontal"] has a UA sheet set
important row flex-direction which we cannot override.
2023-04-12 17:23:31 +03:00
MrOtherGuy
92be3549cd buttonlike buttons: Remove custom styling of zoom items in overflow menu 2023-04-10 12:44:25 +03:00
MrOtherGuy
1f74ecee91 buttonlike toolbarbuttons: also remove styling from pinned overflow menu 2023-04-09 21:45:43 +03:00
MrOtherGuy
bb8d623ced buttonlike toolbarbuttons: remove custom sizing inside panels 2023-04-09 20:27:03 +03:00
MrOtherGuy
76f260269d Use scrollbar-gutter in multi-row tabs and bookmarks
This should prevent the appearing/disappearing scrollbar from reflowing
content.
2023-04-09 09:00:12 +03:00
MrOtherGuy
e98c0b62a5 create tab_animated_active_border.css 2023-04-09 08:16:38 +03:00