web-browsers: initial commit of managed profiles and abandoned ideas

This commit is contained in:
Aminda Suomalainen 2024-03-02 16:15:51 +02:00
parent fc775b0b01
commit 226aa20b51
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
5 changed files with 48 additions and 0 deletions

3
web-browsers/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
chromium
firefox
init-browser-policies.bash

42
web-browsers/README.md Normal file
View File

@ -0,0 +1,42 @@
# Web browser managed policy configuration
_For actual configuration, refer to the shell-things repo which is submoduled
and symlinked in this directory for reference._
<!-- editorconfig-checker-disable -->
<!-- prettier-ignore-start -->
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [Abandoned ideas](#abandoned-ideas)
- [AdNauseam managed policy](#adnauseam-managed-policy)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
<!-- editorconfig-checker-enable -->
## Abandoned ideas
### AdNauseam managed policy
This breaks `pre-commit` hook `pretty-format-json` which I value above this
feature and besides I am not actually using this setting and lazily just
enabling/disabling JavaScript per-domain-I-am-on when I need it.
This snipped is from Firefox, but the principle applies to Chromium.
```json
{
"policies": {
"3rdparty": {
"Extensions": {
"adnauseam@rednoise.org": {
"advancedSettings": [["filterAuthorMode", "true"]]
}
}
}
}
}
```

1
web-browsers/chromium Symbolic link
View File

@ -0,0 +1 @@
../submodules/shell-things/etc/opt/chromium

1
web-browsers/firefox Symbolic link
View File

@ -0,0 +1 @@
../submodules/shell-things/etc/firefox

View File

@ -0,0 +1 @@
../submodules/shell-things/etc/init-browser-policies.bash