Reading the browser proxy settings in WebExtensions

Talk about add-ons and extension development.
Post Reply
smellyfinger
Posts: 28
Joined: January 11th, 2014, 9:54 am

Reading the browser proxy settings in WebExtensions

Post by smellyfinger »

I used to be able to do it in my AddonSDK addon. Something like that:

Code: Select all

var prefs = require("sdk/preferences/service");
var currentProxy = prefs.get("network.proxy.http");
Now I can't find a way to do that in WebExtensions. Is there a lower-level, maybe Firefox-specific Api that can do this for me?
Post Reply