Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

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

了解更多

How to autoclean filter in F12

  • 1 回覆
  • 0 有這個問題
  • 63 次檢視
  • 最近回覆由 cor-el
  • Open

Hey,

in new version of Firefox saved on PC value of filter (devtools.netmonitor.requestfilter) in file: prefs.js. How to autoremove this value after closeing browser?

Thanks!

Hey, in new version of Firefox saved on PC value of filter (devtools.netmonitor.requestfilter) in file: prefs.js. How to autoremove this value after closeing browser? Thanks!

所有回覆 (1)

You can use the plain text file user.js in the Firefox profile folder to initialize prefs on startup.

  • user_pref("devtools.netmonitor.requestfilter", "");

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can use the button in "Help -> More Troubleshooting Information" (about:support) to go to the current Firefox profile folder or use the about:profiles page (Root directory).

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題