add website filter
This commit is contained in:
parent
51d2fd1316
commit
52453f06c9
1 changed files with 23 additions and 0 deletions
23
config.nix
23
config.nix
|
@ -85,6 +85,29 @@ in
|
||||||
firefox = {
|
firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.firefox-esr;
|
package = pkgs.firefox-esr;
|
||||||
|
policies = {
|
||||||
|
SupportMenu = {
|
||||||
|
Title = "Config";
|
||||||
|
URL = "https://git.hamburg.ccc.de/jopejoe1/c3terminal";
|
||||||
|
};
|
||||||
|
WebsiteFilter = {
|
||||||
|
Block = [
|
||||||
|
"<all_urls>"
|
||||||
|
];
|
||||||
|
Exceptions = [
|
||||||
|
"https://c3nav.de"
|
||||||
|
"https://*.c3nav.de"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
Preferences = {
|
||||||
|
"browser.ssb.enabled" = lock true;
|
||||||
|
#"ui.osk.detected_physical_keyboard" = lock false;
|
||||||
|
#"browser.gesture.pinch.in" = lock false;
|
||||||
|
#"browser.gesture.pinch.out" = lock false;
|
||||||
|
"zoom.maxPercent" = lock 100;
|
||||||
|
"zoom.minPercent" = lock 100;
|
||||||
|
};
|
||||||
|
};
|
||||||
profiles = {
|
profiles = {
|
||||||
default = {
|
default = {
|
||||||
id = 0;
|
id = 0;
|
||||||
|
|
Loading…
Reference in a new issue