Post Reply 
Force proxy for select sites
Apr. 12, 2011, 02:56 AM
Post: #4
RE: Force proxy for select sites
First open the cfg in notepad and make sure the header filter's order is as expected. They need to be listed as shown in the Proxomitron's dialog.

To get the proper order I: exit the Proxomitron, restart, click "Config" on, "OK", and save the config.

(Apr. 11, 2011 06:12 AM)sh8an Wrote:  
Code:
[HTTP headers]
In = TRUE
Out = FALSE
Key = "Location: 5 Route redirects through proxy 0 (In) {sh8an}"
URL = "(^$TST(keyword=*.i_proxy:2.*))(^$URL($LST(*ForceProxy*)))"
Match = "*redirected.com/$ADDLST(ForceProxy,\(\[\^/\]\+\+.\|\)$GET(uDom)/\t\t\t\t\$SET\(keyword=i_proxy:2.\))$LOG(RADD: \(\[\^/\]\+\+.\|\)$GET(uDom)/ to list)"
Replace = "$JUMP(\u)"
so this one is fine and inserts as follows
Code:
([^/]++.|)denied.org/        $SET(keyword=i_proxy:2.)

"(^$URL($LST(*ForceProxy*)))" ?? I don't think that does anything? The $LST argument doesn't allow wildcards.
If $URL(*$LST(ForceProxy)), it is probably not the best way. $URL is slow. "*$LST(ForceProxy)" would cause the list to be called after every character of the url.
"$SET(keyword=i_proxy:2.)" will cause the current keyword to be lost or be overwritten, depending on filter order.

(Apr. 11, 2011 06:12 AM)sh8an Wrote:  this one i still can not get.
Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "!-|||||||||||||| 3 Proxy: Force proxy select sites from autolist (Out) {sh8an}"
URL = "(^$TST(keyword=*.i_proxy:2.*))$LST(ForceProxy)"
doesn't seem to do the trick. looks like the list and its contents (keyword) is not initialized.

I think this is a filter order problem.
This filter needs to act before
"! |||||||||||| 3.4.a Use standard Proxy 07.05.31 [srl] (d.r) (Out)"
and
"Location: 5 Route redirects through proxy 0 (In) {sh8an}".
I think it needs another name.

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "! : 4  Proxy: Force proxy select sites from autolist (Out) {sh8an}"
URL = "(^$TST(keyword=*.i_proxy:2.*))$LST(ForceProxy)"

In = TRUE
Out = FALSE
Key = "Location: 5 Route redirects through proxy 0 (In) {sh8an}"
URL = "(^local.ptron/|$TST(keyword=*.i_proxy:2.*))"
Match = "$ADDLST(ForceProxy,\(\[\^/\]\+\+.\|\)$GET(uDom)\t\t\t\t\$SET\(keyword=\$GET\(keyword\)i_proxy:2.\))$LOG(RADD: \(\[\^/\]\+\+.\|\)$GET(uDom)/ to list)"
Replace = "$JUMP(\u)"

Worked for me at mail.yahoo.com but probably needs more work.

HTH
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Force proxy for select sites - sh8an - Apr. 10, 2011, 04:56 PM
RE: Force proxy for select sites - JJoe - Apr. 10, 2011, 06:05 PM
RE: Force proxy for select sites - sh8an - Apr. 11, 2011, 06:12 AM
RE: Force proxy for select sites - JJoe - Apr. 12, 2011 02:56 AM
RE: Force proxy for select sites - sh8an - Apr. 12, 2011, 05:52 AM

Forum Jump: