Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Learn More

Is it possible to have multiple policies.json files?

  • 3 përgjigje
  • 0 e kanë hasur këtë problem
  • 196 parje
  • Përgjigjja më e re nga MozillaFirefoxMan

more options

Hi,

I have a policies.json file that acts as a white list for me (black listed all urls and then white listed needed urls). I was wondering is it possible to create a second .json file that will act as a black list. I want to give access to a partial admin. user to the policy.json file to be able to edit the file and add websites if needed but I want a another black list running as well to block out specific websites (this one the partial admin. will not have access to).

So to start off the first question would be is firefox only limited to one .json file for policies or can you have multiple .json files (I want to call the second file blacklist.json)? Btw I use Debian and Firefox-esr.

Thanks.

Hi, I have a policies.json file that acts as a white list for me (black listed all urls and then white listed needed urls). I was wondering is it possible to create a second .json file that will act as a black list. I want to give access to a partial admin. user to the policy.json file to be able to edit the file and add websites if needed but I want a another black list running as well to block out specific websites (this one the partial admin. will not have access to). So to start off the first question would be is firefox only limited to one .json file for policies or can you have multiple .json files (I want to call the second file blacklist.json)? Btw I use Debian and Firefox-esr. Thanks.

Ndryshuar nga MozillaFirefoxMan

Zgjidhje e zgjedhur

Problem solved. I was actually trying to lock dns over https so it wouldn't bypass my dns server.

Here is the line: lockPref("network.trr.mode", 5);

Here is the website I found to do it: https://www.zdnet.com/article/how-to-enable-dns-over-https-doh-in-firefox/

The preference can also be found in about:config.

So now the dns over https option is grayed out in the firefox settings.

Lexojeni këtë përgjigje brenda kontekstit 👍 0

Krejt Përgjigjet (3)

more options

You can only have one policies.json. Why do you want to make accessing internet so complicated?

more options

Ok thanks. Yes what I was trying to do was complicated. Actually I was trying to block about:config in the separate .json file but after some searching around on the web I see that the settings for Firefox can be locked through a mozilla.cfg file and .js file placed in profile folder. I just haven't found any code to lock all settings (only specific). Do you or anyone else know if all settings can be locked?

Edit: Added the following.

Using the following link I properly created a mozilla.cfg and local-settings.js file and it worked when I tried blocking some specific commands. Cor-el would you know what the command/code is to lock all the settings?

https://support.mozilla.org/en-US/questions/904019

Ndryshuar nga MozillaFirefoxMan

more options

Zgjidhja e Zgjedhur

Problem solved. I was actually trying to lock dns over https so it wouldn't bypass my dns server.

Here is the line: lockPref("network.trr.mode", 5);

Here is the website I found to do it: https://www.zdnet.com/article/how-to-enable-dns-over-https-doh-in-firefox/

The preference can also be found in about:config.

So now the dns over https option is grayed out in the firefox settings.

Ndryshuar nga MozillaFirefoxMan