搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

To set no proxy in command prompt mode

  • 1 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 dumdidadida

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....

由 cor-el 於 修改

所有回覆 (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.

由 dumdidadida 於 修改