搜尋 Mozilla 技術支援網站

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

Learn More

Script to add an icon about:config setting in the upper side of firefox.

  • 4 回覆
  • 0 有這個問題
  • 19 次檢視
  • 最近回覆由 cor-el

more options

Hello, i need to enable and disable for privacy reasons, the setting "media.peerconnection.enabled" (aka WebRTC) via GUI to avoid to go everytime into about:config settings, search for the string, and double click it to disable or enable.

If is fleasible i prefer to add a custom icon in the customization tools bar windows, so i can drag it and move into the upper part of firefox freely (for example i would like to have it above url bar in the left corner, above the 3 lines application menù.

Thanks in advance if someone can help me.

Hello, i need to enable and disable for privacy reasons, the setting "media.peerconnection.enabled" (aka WebRTC) via GUI to avoid to go everytime into about:config settings, search for the string, and double click it to disable or enable. If is fleasible i prefer to add a custom icon in the customization tools bar windows, so i can drag it and move into the upper part of firefox freely (for example i would like to have it above url bar in the left corner, above the 3 lines application menù. Thanks in advance if someone can help me.
附加的畫面擷圖

所有回覆 (4)

more options

Hi,

While this goes look like something that could be solved by an add-on, it would not be possible for it to influence an about:config preference. If you want to leave feedback for developers, you can go to the Firefox Help menu and select Share ideas and feedback…. Alternatively, you can use this link. Your feedback gets collected by a team of people who read it and gather data about the most common issues.

You can also file a bug report or feature request. See File a bug report or feature request for Mozilla products for details.

more options

I see, so is not possible, well, thank you for your info.

more options

No problem, glad we could help.

more options

You can possibly use the Browser Console to toggle this pref.

var pn = "media.peerconnection.enabled";
var cv = Services.prefs.getBoolPref(pn);
Services.prefs.setBoolPref(pn, cv == false ? true : false);
console.log(pn, Services.prefs.getBoolPref(pn));