Commit graph

115 commits

Author SHA1 Message Date
Oliver Smith
88befd38b9
policies.json: don't disable developer tools
The reason for disabling these was, to free up space in the menu. The
menu entry is hidden in userChrome.css now, so we can enable it again.
Having this enabled is required to use the Firefox remote debugger,
which is very useful for developing userChrome.css.
2020-08-10 21:29:07 +02:00
Oliver Smith
8624a27fd7
prefs.js: remove browser.uiCustomization.state
This is done via userChrome.css now, which is easier to maintain (not
all crammed into one JSON line).
2020-08-10 21:29:07 +02:00
Oliver Smith
5126c08b2e
urlbar.css: don't increase font size on focus
This looks weird and there isn't much difference between 9pt and 10pt.
2020-08-10 21:29:07 +02:00
Oliver Smith
df3cb1b051
popups.css: new file 2020-08-10 21:29:07 +02:00
Oliver Smith
1fa368117b
findbar.css: new file 2020-08-10 21:29:07 +02:00
Oliver Smith
37b14e3c8b
wrapper: fix second start with wrong profile
Always start with --profile if there is no profiles.ini. Otherwise,
firefox will create and use the profile for the first start only, but
not set it as default. It would create a new profile on the second start
then.
2020-08-10 21:29:07 +02:00
Oliver Smith
df9ac23760
src/prefs.js: less animations, one click urlbar select
Thanks to Matej Ľach for suggesting these preferences in:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1488
2020-08-10 21:29:02 +02:00
Oliver Smith
49698e65c5
src: wrap firefox binary, not .desktop entry
Instead of trying to override the .desktop entry of Firefox by
installing the custom one and adjusting XDG_DATA_DIRS, just wrap the
firefox binary directly and adjust PATH. The former did not work with
Phosh, and on second thought, wrapping the binary is what's really
necessary. The launcher would have been just another useless layer.
2020-08-07 23:16:13 +02:00
Oliver Smith
dd57cf378e
bottom.html: less redundant privacy note 2020-08-06 17:01:15 +02:00
Oliver Smith
34c8b53622
License under GPL-3.0-or-higher 2020-08-06 17:01:14 +02:00
Oliver Smith
87d4ae0ca3
mobile-config-firefox: create userChrome.css symlink 2020-08-06 17:01:14 +02:00
Oliver Smith
00db529a04
src/prefs.js: allow userChrome.css/userContent.css 2020-08-06 17:01:14 +02:00
Oliver Smith
c1eafe0f8f
Remove most mentions of pmOS / make them optional 2020-08-06 17:01:14 +02:00
Oliver Smith
2908848f3d
userChrome: add initial version
Screenshots: https://gitlab.com/postmarketOS/pmaports/-/issues/701#note_391806241
2020-08-06 17:01:14 +02:00
Oliver Smith
c6debeb660
Initial: import from postmarketos-config-firefox
Related: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1445
2020-08-06 17:01:09 +02:00