1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Change Proxy in iMacros FF Free Plugin

Discussion in 'Black Hat SEO Tools' started by Hunwarrior, Aug 28, 2010.

  1. Hunwarrior

    Hunwarrior Jr. VIP Jr. VIP Premium Member

    Joined:
    May 12, 2010
    Messages:
    1,027
    Likes Received:
    859
    Finally i got a solution to change proxys in iMacros FireFox free plugin.I wanted this much, therefore i think many of you would find it useful.
    Just change the port number and proxy parameters.
    You need to set up manually in the FF setting : Use manual proxy settings.

    Code:
    URL GOTO=about:config
    URL GOTO=javascript:var<SP>prefb<SP>=<SP>Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);var<SP>str<SP>=<SP>Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);str.data<SP>=<SP>"xxx.xxx.xx.xxx";prefb.setComplexValue("network.proxy.http",<SP>Components.interfaces.nsISupportsString,<SP>str);
    URL GOTO=about:config
    URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.http_port",xxxxx);
    
    'xxxxx= port number
    'xxx.xxx.xx.xxx = proxy
    
     
    • Thanks Thanks x 14
  2. bleach

    bleach Senior Member

    Joined:
    Oct 12, 2008
    Messages:
    934
    Likes Received:
    82
    Location:
    New York
    how to add lots of proxy and spin them ever post?
     
    • Thanks Thanks x 1
  3. siniy

    siniy Registered Member

    Joined:
    Sep 5, 2009
    Messages:
    53
    Likes Received:
    16
    Look in Imacros manual for DATASOURCE command and read proxies from file.
    Personally I'm using local proxy server - 3proxy. It maybe a bit complicated but on their site 3proxy.ru there is nice manual and howto. Also for firefox I'm using Privoxy+3proxy. In privoxy I'm configured filters so jpg,png,css,js,swf would go without proxy to speed up surfing.

    Here's example config for 3proxy. It's choosing randomly from 5 proxies. The sum for parent proxies must be 1000. So if you'd have 10 proxies, it will be "parent 100 connect..." and listens on localhost at 5555 port.


    service
    auth iponly
    allow *
    parent 200 connect 111.134.11.250 3128
    parent 200 connect 68.134.11.252 44931 mylogin mypass
    parent 200 connect 68.134.11.251 3128 mylogin mypass
    parent 200 socks4 68.134.11.250 3128
    parent 200 socks5 68.134.11.249 3128
    proxy -a -p5555
     
  4. Hunwarrior

    Hunwarrior Jr. VIP Jr. VIP Premium Member

    Joined:
    May 12, 2010
    Messages:
    1,027
    Likes Received:
    859
    i will post the solution for that as well soon, can be easily done with a .csv file.
     
    • Thanks Thanks x 1
  5. siniy

    siniy Registered Member

    Joined:
    Sep 5, 2009
    Messages:
    53
    Likes Received:
    16
    Just found out that Imacros 6.90 have in built proxy changing support. Here is the description http://wiki.imacros.net/PROXY. This command not working in Firefox.
    Example of usage:

    SET !LOOP 1
    SET !DATASOURCE c:\proxies.txt
    SET !DATASOURCE_COLUMNS 1
    SET !DATASOURCE_LINE {{!LOOP}}
    PROXY ADDRESS={{!COL1}} BYPASS=*localhost* 127.0.0.1
     
  6. zelma143

    zelma143 Power Member

    Joined:
    Jun 25, 2010
    Messages:
    571
    Likes Received:
    37
    Occupation:
    PHP programmer,Bot maker,iMacro script maker
    lol... I've already given you solution.. waiting for your reply last 4 days
     
  7. zelma143

    zelma143 Power Member

    Joined:
    Jun 25, 2010
    Messages:
    571
    Likes Received:
    37
    Occupation:
    PHP programmer,Bot maker,iMacro script maker
    yea.. in Free FF add on that's command not working in all version.

    We have to choose another way for .. which is given here.. :)
     
  8. laniyar

    laniyar Newbie

    Joined:
    Jul 4, 2010
    Messages:
    18
    Likes Received:
    2
    So if I wanted to go down a csv file and input proxies that way, do I change 'port number' to something like {{!COL2}} and 'proxy' to {{!COL1}}?

    Code:
    'xxxxx= {{!COL2}}
    'xxx.xxx.xx.xxx = {{!COL1}}
    
     
  9. laniyar

    laniyar Newbie

    Joined:
    Jul 4, 2010
    Messages:
    18
    Likes Received:
    2
    Multiple Post- - - Ignore
     
    Last edited: Sep 9, 2010
  10. laniyar

    laniyar Newbie

    Joined:
    Jul 4, 2010
    Messages:
    18
    Likes Received:
    2
    Multiple Post- - - Ignore
     
    Last edited: Sep 9, 2010
  11. olm75

    olm75 Power Member

    Joined:
    Jan 14, 2009
    Messages:
    746
    Likes Received:
    82
    that actually makes since to me...
    can someone confirm
     
  12. Hunwarrior

    Hunwarrior Jr. VIP Jr. VIP Premium Member

    Joined:
    May 12, 2010
    Messages:
    1,027
    Likes Received:
    859
    Code:
    
    SET !ERRORIGNORE YES
    SET !DATASOURCE proxies.csv
    SET !DATASOURCE_COLUMNS 2
    SET !LOOP 1
    SET !DATASOURCE_LINE {{!LOOP}}
    SET !TIMEOUT 60
    CLEAR
    
    'proxy module
    URL GOTO=about:config
    URL GOTO=javascript:var<SP>prefb<SP>=<SP>Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);var<SP>str<SP>=<SP>Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);str.data<SP>=<SP>"{{!COL1}}";prefb.setComplexValue("network.proxy.http",<SP>Components.interfaces.nsISupportsString,<SP>str);
    URL GOTO=about:config
    URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.http_port",{{!COL2}});
    
    You have to make a proxies.csv into documents/imacros/datasources.

    "proxy","port"
    "proxy","port"
    "proxy","port"
    etc
    this is how your .csv should look like.

    If you using it collabroration with other command, adjust your .csv according.
     
    • Thanks Thanks x 6
  13. olm75

    olm75 Power Member

    Joined:
    Jan 14, 2009
    Messages:
    746
    Likes Received:
    82
    i was also wondering can you add include type script line to imacros like you can in php... if not you will have to add to several imacros...
     
  14. Hunwarrior

    Hunwarrior Jr. VIP Jr. VIP Premium Member

    Joined:
    May 12, 2010
    Messages:
    1,027
    Likes Received:
    859
    i am not really familiar with php, so pls explain what you need exactly
     
  15. No.RuleZ

    No.RuleZ Elite Member

    Joined:
    Jul 23, 2010
    Messages:
    1,732
    Likes Received:
    358
    does someone have a code to automatic delete all the cookies using imacros?
     
  16. siniy

    siniy Registered Member

    Joined:
    Sep 5, 2009
    Messages:
    53
    Likes Received:
    16
  17. Hunwarrior

    Hunwarrior Jr. VIP Jr. VIP Premium Member

    Joined:
    May 12, 2010
    Messages:
    1,027
    Likes Received:
    859
    yep, CLEAR command seems to do almost all coockies clearing to me.
     
  18. AJMorgans

    AJMorgans Newbie

    Joined:
    May 11, 2010
    Messages:
    34
    Likes Received:
    0
    I have been using iMacros for a while now... Thanks for the update. Are you using private proxies or public ? I assume the private is the best way to go for this.
     
  19. ycfme

    ycfme Power Member

    Joined:
    Mar 24, 2010
    Messages:
    779
    Likes Received:
    65
    Hey guys ,
    I'm just learning about iMacros (actually using them I should say...)

    So I too, would like to use the free version of foxyproxy with my private proxies.

    So if i understand this correctly, I just enter the code below on a .csv and drop it into the datasources folders and that pretty much it???

    REALLY need help with this. I'd like to get this up and running by today.

    Thanks!

     
  20. Spydr

    Spydr Registered Member

    Joined:
    Aug 27, 2009
    Messages:
    66
    Likes Received:
    27
    For anyone that uses proxy authentication with the ONLOGIN command and has upgraded to imacros 7, it no longer seems to work. Downgrading back to 6.7 will fix the problem.

    Seems like the new version has quite a few bugs, anyone else had any other issues?