We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

To set no proxy in command prompt mode

more options

I need to set no proxy in command mode...

for setting proxy command

cd /D "%APPDATA%\Mozilla\Firefox\Profiles"
cd *.default
set ffile=%cd%
echo user_pref("network.proxy.http", "148.233.229.235 ");>>"%ffile%\prefs.js"
echo user_pref("network.proxy.http_port", 3128);>>"%ffile%\prefs.js"
echo user_pref("network.proxy.type", 1);>>"%ffile%\prefs.js"
set ffile=
cd %windir%

For remove Proxy i need to know....

I need to set no proxy in command mode... for setting proxy command <pre><nowiki>cd /D "%APPDATA%\Mozilla\Firefox\Profiles" cd *.default set ffile=%cd% echo user_pref("network.proxy.http", "148.233.229.235 ");>>"%ffile%\prefs.js" echo user_pref("network.proxy.http_port", 3128);>>"%ffile%\prefs.js" echo user_pref("network.proxy.type", 1);>>"%ffile%\prefs.js" set ffile= cd %windir%</nowiki></pre> For remove Proxy i need to know....

Modified by cor-el

All Replies (1)

more options

Hi,

You can try to echo user_pref("network.proxy.type", 0); (value 0). It gets appended after any previous values - let the previous value remain as is - , and at the next startup Firefox accepts the last value, discards any previously read conflicting value, and also saves it as the new value upon exit.

prefs.js

about:config Entries

The Config Descriptions add-on adds helpful source comments in about:config.

Modified by dumdidadida