Kantu support Proxy And Socks?

Hi

Kantu Support Proxy And Socks 4/5 ?

On Imacros for firefox i use a javascript do set a socks it’s possible in Kantu too ?

prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
prefs.setCharPref("network.proxy.socks", ip);
prefs.setIntPref("network.proxy.socks_port", port);  
prefs.setIntPref("network.proxy.socks_version", 4);  
prefs.setIntPref("network.proxy.type", 1);

Imacros support only proxy but with the script it’s possible to set a socks too (firefox 56 only).

Thanks for suggestion

Have a nice day

You can use Kantu’s desktop automation feature to control any other proxy manager extensions (e. g. FoxyProxy, ProxySwitcher) or VPN extension (ZenMate, NordVPN,…) by sending hotkeys to the extension via XType or by actually automating the extension with XClick. This works already now.

As a future feature, we plan to add a built-in PROXY command to Kantu soon.

2 Likes

Thanks @admin for these features

Hi admin.
If I create different chrome istance in the same time, do you think I can setup different proxy server for each istance?

When do you plan to introduce proxy function??

Thanks
Lorenzo

Hi

To do this you must use Google Chrome Portable, 1 browser can have 1 only proxy setted, you can bypass this only with multiple portable browsers.

When do you plan to introduce proxy function (with authentication) without workarounds?

Foxyproxy can multiple proxies with authentication. With all browsers in my eyes. Can you add a very good proxy solution like old foxyproxy v4.6.5 with protocol handler? (e.g. example legacy xpi in this imacros thread and tested with Basilisk Browser)

Hi

With Kantu desktop automation you can control addons and set the proxy or socks.

I already create a macro to open addon for manage proxy and set proxy with kantu desktop automation but require more and more time to create a macro with this feature that use image to control addon (control addons not are web automation).

Desktop automation is too slow for me.

Desktop automation actually is the only way to manage proxy and socks with Kantu.

It’s very hard and slow work with desktop automation because work with images (every command is an image to search).

Well be appreciated Kantu support proxy and socks

Second way is Waterfox (v56+) with both worlds. It’s usable with Kantu and my Foxyproxy modification. Newer Foxyproxy addon for Firefox quantum has no api or protocol handler.

@thecoder2012

I tried the waterfox browser is a useless copy of firefox useless, besides the webexstensions of quantum firefox do not work so it’s really bad waterfox.

Stop spaming watefox if paid by someone to promote it in all forums by accident?

it’s simply a bad browser, use quantum firefox is great, I teach you to automate everything, firefox quantum is the best browser in the world fast 300% more than the others and safe. Just spam Watefox doesn’t interest anyone in this shoddy browser you propose.

I posted only my solution for Kantu, nothing else. And the low quality of Firefox quantum in this case but the future is coming soon with your favorite browser. Check the bugtracker of Firefox quantum but it takes years.

The solution is to use the macro created by me that makes me work great because I make great and functioning macros. just use desktop automation with an extension of quantum firefox and you can automate all the proxies and socks in the world.

I realized macros of excellent quality not jobs for beginners. So the problem is solved by me with an excellent macro that supports any kind of proxy and socks just Kantu and an extension of quantum firefox.

Your solution was not fast enough for me. And usually all commands without gui are faster. I understand your reasons for firefox quantum and if the time (or system) is not important then it’s no problem.

Second problem is the newest kantu source code is not available. But Github is very useful in this case but not updated. Admin says it’s coming soon.

But the solutions are on the way says the bugtracker with “custom protocol handler” and “Redirect support for protocols API”. Then I can use my own addon (or updated foxyproxy) with Kantu without Desktop automation.

For automate proxy and socks before i tryed foxyproxy (very very hard) after i tried other addons and a simple solution is this

This need to click icon in browser (kantu xclick) and open unique page setting with xtype i set proxy number and port, proxy type and save.

With this addons is simple because you have all setting in 1 popunder opended clicking on the icon.

I have in csv list of proxy and type (http, https, socks4, sock5) and working well.

Need to use desktop automation and few image to recognize button in extension.

I tried with foxyproxy and it’s to hard to automate.

1 Like

In BETA now: setProxy | http://IP:PORT | username,password

Beta link: https://chrome.google.com/webstore/detail/uivision-kantu-for-chrome/dpdlhdbnlaefobeejcgfidghdllhemkl

Notes:

  • http:// and https:// proxies supported (if you need another protocol (socks?), please tell us)
  • setProxy | default - uses the default proxy as configured in Settings > Selenium > Proxy
  • setProxy | direct - turns off proxy

You have two ways to enable a proxy:

  • In the macro via setProxy command
  • Manually in Settings > Selenium > Proxy

If a proxy is active, the UI Vision RPA icon turns red:

Example macro to switch proxy:

{
  "Name": "proxy-test",
  "CreationDate": "2019-10-24",
  "Commands": [
    {
      "Command": "setProxy",
      "Target": "https://zproxy.lum-superproxy.io:22225",
      "Value": "lum-customer-abc,bbbxxxyyyzzz"
    },
    {
      "Command": "open",
      "Target": "https://tools.keycdn.com/geo",
      "Value": ""
    },
    {
      "Command": "setProxy",
      "Target": "http://103.194.242.254:60025",
      "Value": ""
    },
    {
      "Command": "open",
      "Target": "https://tools.keycdn.com/geo",
      "Value": ""
    },
       {
      "Command": "setProxy",
      "Target": "default",
      "Value": ""
    },
    {
      "Command": "open",
      "Target": "https://tools.keycdn.com/geo",
      "Value": ""
    },
        {
      "Command": "setProxy",
      "Target": "direct",
      "Value": ""
    },
    {
      "Command": "open",
      "Target": "https://tools.keycdn.com/geo",
      "Value": ""
    }
  ]
}

Hi

Thanks for this feature.

If i want to set a socks what i do ?

if you need another protocol (socks?), please tell us)

Thanks

This version does not support Socks yet. Can I ask for what you need Socks? Can you use a HTTP proxy instead?

In firefox there are settings for socks.

Some proxy are socks protocol only, in this case need socks support to set socks in firefox.

There are some example of socks proxy

https://sockslist.net/

Need to set ip:port and socks type and firefox have these settings.

In this case you can not use socks like proxy http or https because the protocol is different.

1 Like

The user newuserkantu says the truth.
Socks support is required. It’s already in the WebExtension API for both browsers available.

See https://developer.chrome.com/extensions/proxy for Chrome and https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/proxy/settings for Firefox.

1 Like