Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Import settings from Managed Storage area (ie. configuration through central policies) #303

Open
a-l-e-c opened this issue Jun 22, 2023 · 1 comment

Comments

@a-l-e-c
Copy link

a-l-e-c commented Jun 22, 2023

If managed storage is used, then it would allow the use of a managed storage manifest within a specific folder (read-only to extension) to pull in predefined default settings.

Essentially allowing configuration through central policies. Like how they have with uBlock.

So the idea (in Linux + FireFox at least) would be to create the custom folder; then the manifest file:

export MANIFEST_STORAGE="/home/user/.mozilla/managed-storage/73a6fe31-595d-460b-a920-fcc0f8843232.json" && touch $MANIFEST_STORAGE && echo '{
  "name": "73a6fe31-595d-460b-a920-fcc0f8843232",
  "description": "ignored",
  "type": "storage",
  "data":
  {
    "sites": "{\"custom\": {\"https://block.example.com\":{\"capabilities\":[],\"temp\": false}, \"https://media.example.com\":{\"capabilities\":[\"media\",\"font\"],\"temp\": false}},\"trusted\": [\"§:good.example.com\", \"§:ok.example.com\"],\"untrusted\": [\"ads.example.com\"]}"
  }
}' > $MANIFEST_STORAGE

Disclaimer: I'm not a developer, but I tried to research this as best I could and am confident it has all the required information to bring the attention to how important/useful this feature could be. I believe this would be a beneficial feature to an already amazing extension.

@Mikaela
Copy link

Mikaela commented Feb 12, 2024

I would like this too so I could begin with empty allowlist (#132) and then choose what sites to trust myself.

Another extension allowing configuration through policy is PrivacyBadger (admin-deployment.md) (schema.json).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants