Imacros To Extract Firefox Profiles Proxy IP & Port

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Aev8357
Posts: 1
Joined: Sun Mar 11, 2018 9:53 am

Imacros To Extract Firefox Profiles Proxy IP & Port

Post by Aev8357 » Sun Mar 11, 2018 10:01 am

Anyone know to write Imacros to extact Firefox profiles Proxy IP & Port.
thecoder2012
Posts: 248
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: Imacros To Extract Firefox Profiles Proxy IP & Port

Post by thecoder2012 » Sun Mar 25, 2018 7:47 pm

Aev8357 wrote:Anyone know to write Imacros to extact Firefox profiles Proxy IP & Port.
Parse your firefox profile directorys. File prefs.js

Example from prefs.js in every profile directory:

Code: Select all

user_pref("network.proxy.socks", "IP");
user_pref("network.proxy.socks_port", 1080);
user_pref("network.proxy.type", 1);
Or with imacros 8.9.7 with your active session in javascript (*.js):

Code: Select all

Components.utils.import("resource://gre/modules/Services.jsm");

var proxy_http = Services.prefs.getCharPref("network.proxy.http");
var proxy_http_port = Services.prefs.getIntPref("network.proxy.http_port");

var proxy_socks = Services.prefs.getCharPref("network.proxy.socks");
var proxy_socks_port = Services.prefs.getIntPref("network.proxy.socks_port");
And see "using proxy list or plugin on firefox?"
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!
Post Reply