Open Mag1cByt3s opened 4 months ago
I cannot enable the proxy "BurpSuite" I added via
policies.json
When an enterprise policy is in effect, users wont be able to change anything. The purpose of an enterprise policy is for the admin (not users) to control the options.
But actually using the foxyproxy addon by changing between proxies or disabling the proxies is not really a 'change', is it?
If the user cannot use the addon anymore by turning on or off the proxy it kind of defeats the whole purpose.
But actually using the foxyproxy addon by changing between proxies or disabling the proxies is not really a 'change', is it?
That would conflict with https://github.com/foxyproxy/browser-extension/issues/42#issuecomment-1830407101
"mode" = "enable";
There is no such mode
. As per Help:
"mode": "disable", // mandatory: current option, necessary to enable
So there is no way to simply add the proxy and let the user decide when to enable it and when not?
Enterprise policy is not designed for that purpose. However, if there is a popular demand, a recommended settings feature can be worked on.
See also: #132
Greetings @erosman and thank you for your work,
I would also be very interested in such a feature.
Also, I tried a workaround using a storage.managed manifest file, here is my file:
{
"name": "foxyproxy@eric.h.jung",
"type": "storage",
"data": {
"mode": "enable",
"sync": false,
"passthrough": "",
"container": {},
"commands": {},
"data": [
{
"active": true,
"title": "BurpSuite",
"type": "http",
"hostname": "localhost",
"port": "8080",
"username": "",
"password": "",
"cc": "",
"city": "",
"color": "#e66100",
"pac": "",
"pacString": "",
"proxyDNS": true,
"include": [],
"exclude": []
}
]
}
}
I wrote it here: /usr/lib/mozilla/managed-storage/foxyproxy@eric.h.jung.json
, but it doesn't seems to work, I can't see my proxy added in the extension, do you have an idea why ?
Regards.
@lap1nou As mentioned previously, "mode": "enable",
is wrong.
Does the policy show on about:policies
?
Hey @erosman thank you for your answer,
My policy is working fine, but I'm trying to use this: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/managed, in order to add some preconfigured proxy to Foxyproxy, maybe I misunderstood the goal of this.
My end goal is to simply be able to preconfigure proxy (add them) but let the user decide wether he want to enable them or not.
Regards.
My end goal is to simply be able to preconfigure proxy (add them) but let the user decide wether he want to enable them or not.
At the moment, that is not possible. Enterprise Policy is set to remove control from the users and give control to the admin.
However, as mentioned in https://github.com/foxyproxy/browser-extension/issues/138#issuecomment-2183068599, if there is enough demand, a recommended-settings feature can be added to FoxyProxy.
[ENV] Firefox 127.0 FoxyProxy Standard 8.9 NixOS Unstable
[ISSUE] I cannot enable the proxy "BurpSuite" I added via policies.json. The proxy gets added to foxyproxy however once I click on it to activate the proxy, nothing happens, the state of foxyproxy does not change, the icon does not change. Once i click on my proxy, the radio button gets set to the proxy but thats it. Once i click on it again it is back to "Disabled".
Here is my NixOS config for firefox: