Page 1 of 1

Warning when proxy enabled

Posted: Mon Jan 22, 2018 7:43 am
by meteor
How can I disable this warning?
Image
I have aleady reset the network.proxy.socks_remote_dns to false. But still have the warning.

Re: Warning when proxy enabled

Posted: Sat Jan 27, 2018 11:44 am
by DaveG
Unfortunately, the notifications WebExtension API I'm forced to use now is kinda not-great (also note, apparently the icon gets stretched on some platforms), and Mozilla hasn't even fully implemented it. I used to have a "Don't show this again" checkbox, but there's currently no way to add a custom checkbox/button here. I may have to write my own notification popup from scratch to add this feature back, as unfortunately is a recurring pattern when dealing with this crap API. This is not a simple thing to do, so it's lower down on the todo list, at the moment. The notifications should still only show once per session, though.

The actual setting to remember the old checkbox still exists, so technically you could manually edit the settings file (without Firefox open) and hack it in. It's just JSON, so you could add the following to the end of the file, but before the last curly brace ("}"):

Code: Select all

,"warn.proxy":"disabled"
So, your file would then be:

Code: Select all

{OTHER STUFF, "warn.proxy":"disabled"}
(note the comma; spaces around commas/colons don't matter)
The FAQ has instructions on hunting down the settings location here.

Mozilla has said that they intend to add some sort of GUI to allow people to edit WebExtension settings, similar to about:config... however, they haven't (and I don't know if they actually will, unfortunately).

Re: Warning when proxy enabled

Posted: Fri Feb 02, 2018 8:10 am
by meteor
DingTalk20180202150942.png
DingTalk20180202150942.png (423.9 KiB) Viewed 4842 times
Do you mean like this?

Re: Warning when proxy enabled

Posted: Fri Feb 02, 2018 6:27 pm
by DaveG
meteor wrote:
Fri Feb 02, 2018 8:10 am
Do you mean like this?
Yes. Just make sure you edit and save without Firefox running to ensure it gets saved and loaded properly.

(Firefox normally saves this file as one long line, with no linebreaks or extra spacing, however it should parse fine regardless)

Re: Warning when proxy enabled

Posted: Wed Mar 07, 2018 4:13 pm
by meteor
DaveG wrote:
Fri Feb 02, 2018 6:27 pm
meteor wrote:
Fri Feb 02, 2018 8:10 am
Do you mean like this?
Yes. Just make sure you edit and save without Firefox running to ensure it gets saved and loaded properly.

(Firefox normally saves this file as one long line, with no linebreaks or extra spacing, however it should parse fine regardless)
I put a linebreak because it looks better for human.