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

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

  • 4 replies
  • 0 have this problem
  • 25 views
  • Last reply by 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.
Attached screenshots

All Replies (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));