package com.btr.proxy.search.browser.firefox; import java.io.IOException; import java.net.Proxy; import java.net.ProxySelector; import java.util.Properties; import com.btr.proxy.search.ProxySearchStrategy; import com.btr.proxy.search.desktop.DesktopProxySearchStrategy; import com.btr.proxy.search.wpad.WpadProxySearchStrategy; import com.btr.proxy.selector.direct.NoProxySelector; import com.btr.proxy.selector.misc.ProtocolDispatchSelector; import com.btr.proxy.selector.whitelist.ProxyBypassListSelector; import com.btr.proxy.util.Logger; import com.btr.proxy.util.Logger.LogLevel; import com.btr.proxy.util.PlatformUtil; import com.btr.proxy.util.PlatformUtil.Platform; import com.btr.proxy.util.ProxyException; import com.btr.proxy.util.ProxyUtil; /***************************************************************************** * Loads the Firefox3 proxy settings from the users Firefox3 settings. * This will load the file prefs.js that is located in the *

* .mozilla/firefox/(profile)/ folder. *

* * See Mozilla_Networking_Preferences * for an explanation of the proxy settings. *

* The following settings are extracted from * this file: *

* Some generic settings:
* * Host names and ports per protocol are stored in the following settings: *