PROXY multiple BYPASS with *keywords*
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
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
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
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
PROXY multiple BYPASS with *keywords*
Hi there.
I'm wondering about how to manage multiple bypass keywords for PROXY setting in macro.
PROXY ADDRESS=XXX.XXX.XXX.XXX:8080 BYPASS=*imacros*
This is a single keyword exclusion.
And if I want to use many keywords ?
thanks.
-----------
Windows 7 PRO (64 bit)
Waterfox 51.0.1 (64 bit)
iMacros for FF 8.9.7
I'm wondering about how to manage multiple bypass keywords for PROXY setting in macro.
PROXY ADDRESS=XXX.XXX.XXX.XXX:8080 BYPASS=*imacros*
This is a single keyword exclusion.
And if I want to use many keywords ?
thanks.
-----------
Windows 7 PRO (64 bit)
Waterfox 51.0.1 (64 bit)
iMacros for FF 8.9.7
- thecoder2012
- Posts: 446
- Joined: Sat Aug 15, 2015 5:14 pm
- Location: Internet
- Contact:
Re: PROXY multiple BYPASS with *keywords*
See about the proxy,a big error in wiki
Example:
Code: Select all
PROXY ADDRESS=127.0.0.1:3128 BYPASS="iplocation.com, whatismyipaddress.com"
URL GOTO=https://iplocation.com/
PAUSE
URL GOTO=https://whatismyipaddress.com/
PAUSE
Tested with Waterfox 56, iMacros 8.9.7, Windows 8.1 (x64)
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!
Re: PROXY multiple BYPASS with *keywords*
And how to pass also USERNAME and PASS for the proxy login ?
user:pass@000.000.000.000:8080 is not supported by iMacros.
thanks
user:pass@000.000.000.000:8080 is not supported by iMacros.
thanks
- thecoder2012
- Posts: 446
- Joined: Sat Aug 15, 2015 5:14 pm
- Location: Internet
- Contact:
Re: PROXY multiple BYPASS with *keywords*
Not possible without JavaScript in my eyes or foxyproxy. You can use addons (e.g. foxyproxy), third party proxy software (e.g. ccproxy => Options => Advanced => Cascading) or javascript with your imacros 8.9.7
Last edited by thecoder2012 on Wed Sep 11, 2019 10:56 pm, edited 1 time in total.
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!
Re: PROXY multiple BYPASS with *keywords*
Will try with Foxyproxy.
Thanks.
Thanks.
Re: PROXY multiple BYPASS with *keywords*
And what about the javascript solution instead ?
- thecoder2012
- Posts: 446
- Joined: Sat Aug 15, 2015 5:14 pm
- Location: Internet
- Contact:
Re: PROXY multiple BYPASS with *keywords*
Foxyproxy source code. This feature currently can only be used from an XUL extension using the XPCOM API (e.g. waterfox 56, PaleMoon/Basilisk, old firefox). Firefox 45 and higher supports SOCKS proxies with authentication. Before that, SOCKS is supported but not with authentication.
I think it's usable in imacros 8.9.7 with javascript.
1. HTTP/HTTPS Proxy (with authentication)
Easier than socks5 proxy in my eyes like observer with "http-on-modify-request" with username and password. Set proxy and header modification with "Proxy-Authorizationn" + "Basic USER:PASS". USER:PASS is in Base64 required (e.g. in the source code Proxy Authentication #1 #2 => chrome => content => overlay.js).
See https://developer.mozilla.org/en-US/doc ... horization and https://developer.mozilla.org/en-US/doc ... entication
Or you can try https://stackoverflow.com/questions/637 ... -extension but I think it's only for http authentication.
2. Socks4/5 proxy (with authentication)
Solution is in Foxyproxy. I have not enough time to research it in the addon source code.
It's tricky (e.g. set isHttps to false, isSocks to true) but helpful are lines like (foxyproxy 4.6.5 => components => proxy.js):
var proxyService = CC["@mozilla.org/network/protocol-proxy-service;1"].getService(CI.nsIProtocolProxyService),
proxyService.newProxyInfoWithAuth(this._socksversion == "5" ? "socks" : "socks4", this._host, this._port, this.username, this.password, this.owner._proxyDNS ? CI.nsIProxyInfo.TRANSPARENT_PROXY_RESOLVES_HOST : 0, 0, null);
See https://developer.mozilla.org/en-US/doc ... oxyService
source/toolkit/components/extensions/ProxyScriptContext.jsm:
newProxyInfoWithAuth:
type,
host,
port,
username,
password,
proxyAuthorizationHeader,
connectionIsolationKey,
proxyDNS ? TRANSPARENT_PROXY_RESOLVES_HOST : 0,
failoverTimeout ? failoverTimeout : PROXY_TIMEOUT_SEC,
failoverProxy
Untested (except foxyproxy?) and no documentation in my eyes.
3. Use foyproxy in your addons (e.g.imacros 8.9.7)
Easiest way is the protocol handler with your addressbar (url goto): https://getfoxyproxy.org/developers/proxyprotocol/ (with geoip check page under https://getfoxyproxy.org/geoip/)
Release notes: https://help.getfoxyproxy.org/index.php ... r-firefox/ ("support of proxy authentication credentials" since 2013/v4.2+)
Example without JavaScript and Foxyproxy (v4.6.5):
proxy:host=foo.tld&port=999&enabled=true&proxyDNS=false&password=foobar&username=foouser&foxyProxyMode=this&mode=manual&socksversion=5&isSocks=true
My test script with pure IIM (with ccproxy free as proxy software with socks5 under Windows):
Code: Select all
TAB T=1
URL GOTO=proxy:host=foo.tld&port=999&enabled=true&proxyDNS=false&username=foouser&password=foobar&foxyProxyMode=this&mode=manual&socksversion=5&isSocks=true
URL GOTO=https://getfoxyproxy.org/geoip/
URL GOTO=proxy:host=foo.tld&port=999&enabled=true&proxyDNS=false&username=foouser&password=foobar&foxyProxyMode=this&mode=manual&socksversion=5&isSocks=true&action=delete
But it's tricky with iMacros without Button "Allow" for every foxyproxy api call.
Download the original XPI File (v4.6.5), rename xpi to zip and use winrar (update the zip file, don't create a new zip file!).
1. File components/common.js
Search:
Code: Select all
notify : function(msg, ar, buttons, priority, callback, getNotWithVal, callbackArgs) {
Code: Select all
notify : function(msg, ar, buttons, priority, callback, getNotWithVal, callbackArgs) {
return callback(callbackArgs);
Search:
Code: Select all
if (this.username && this.password && this.fp.isGecko45 && this._socksversion == "5") {
Code: Select all
if (this.username && this.password && this._socksversion == "5") {
NOTE: If you have foxyproxy already installed then deinstall it OR delete the folder foxyproxy* under "extensions" in your profile directory (and restart your browser)!
Or you can use the xpi file in the attachment (4 rar archive, 3 in this post and 1 in the next post). Tested with Basilisk Browser 2019.09.03 (64-bit), Win8.1 (x64) and iMacros v8.9.7
- Attachments
-
- foxyproxy-standard-4.6.5_imacros-mod.part3.rar
- (250 KiB) Downloaded 232 times
-
- foxyproxy-standard-4.6.5_imacros-mod.part2.rar
- (250 KiB) Downloaded 272 times
-
- foxyproxy-standard-4.6.5_imacros-mod.part1.rar
- (250 KiB) Downloaded 250 times
Last edited by thecoder2012 on Thu Sep 12, 2019 11:06 am, edited 3 times in total.
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!
- thecoder2012
- Posts: 446
- Joined: Sat Aug 15, 2015 5:14 pm
- Location: Internet
- Contact:
Re: PROXY multiple BYPASS with *keywords*
part4 rar (forum is limited in this case)
First mod as proof of concept for new ideas without modification imacros xpi file.
First mod as proof of concept for new ideas without modification imacros xpi file.
- Attachments
-
- foxyproxy-standard-4.6.5_imacros-mod.part4.rar
- (143.9 KiB) Downloaded 246 times
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!
Re: PROXY multiple BYPASS with *keywords*
thecoder2012 wrote: ↑Thu Sep 12, 2019 10:54 amFirst mod as proof of concept for new ideas without modification imacros xpi file.
Nice Work, @thecoder2012..., fouff...!, I'm impressed, ah-ah...!!
'7-Zip' is better to use than 'WinRar' btw, I think... (for editing), 'WinRar' used to not even be able to edit '.zip'/'.rar'/'.xpi' Files, must be recent..., after it came "in the News" about 6 or 12 months ago for some "Design/Security-Flaws" that had been pledging 'WinRar' for 17 years if I remember correctly...
I think with '7-Zip', you don't even need to change the Extension anymore...
But hum, yep-yep, exactly what I thought "without modification imacros xpi file", would be "nice" to have that Func directly integrated in iMacros (for FF), won't happen from @Dev, as even if they did it, that would be only be for some v10.0.x next Version for FF, no chance they will ever add it to v8.9.7 for FF...
Maybe "Time" to revive this older "Project", ah-ah...!:
- Re: Extend Imacros with new commands?
What...!?, Thread is already from 6 years ago, oops-oops...!! Hum, I was already full of "Good Ideas" then, ah-ah...! , hum, and already customizing the '.xpi' Add-on for FF apparently, re-oops...! Hum, but yep of course, I was doing it already "long" before I joined the Forum in May 2013... Shit..., 6 years already...!
>>>
... While trying to save some Edit...Post review
This post has been altered by another user while you were editing it. You may wish to review the current version of this post and adjust your edits.
=> Yep, don't worry, that was me already the "other User"...
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- thecoder2012
- Posts: 446
- Joined: Sat Aug 15, 2015 5:14 pm
- Location: Internet
- Contact:
Re: PROXY multiple BYPASS with *keywords*
No chance? Not the usual way, yes. But we have more ways.chivracq wrote: ↑Fri Sep 13, 2019 12:02 amBut hum, yep-yep, exactly what I thought "without modification imacros xpi file", would be "nice" to have that Func directly integrated in iMacros (for FF), won't happen from @Dev, as even if they did it, that would be only be for some v10.0.x next Version for FF, no chance they will ever add it to v8.9.7 for FF...
Old addon system is very powerful.
No time and socks proxy function (with gui) was required for my customer scripts.
And which solutions are available since 6 years?chivracq wrote: ↑Fri Sep 13, 2019 12:02 amWhat...!?, Thread is already from 6 years ago, oops-oops...!! Hum, I was already full of "Good Ideas" then, ah-ah...! , hum, and already customizing the '.xpi' Add-on for FF apparently, re-oops...! Hum, but yep of course, I was doing it already "long" before I joined the Forum in May 2013... Shit..., 6 years already...!
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!
Re: PROXY multiple BYPASS with *keywords*
Great great great work my friend.
I'm impressed.
Thank you for your time.
I'm impressed.
Thank you for your time.