Fix Google Tracking/redirect URLs, Proxo filter

S

Splibbilla

in your Proxomitron program folder, open your default.cfg file with editor, and search for the line
[Patterns]
just below, paste:

## BEGIN MY WEB PAGE FILTERS
## {By Splib}
Name = "Un-redirect Google Tracking URLs"
Active = TRUE
Multi = TRUE
URL = "*.google.*"
Bounds = "<a*>"
Limit = 512
Match = "<a href=/url?sa=U\&start=[#0:100]\&q=(\w)\1 >"
Replace = "<a href=\1>"
## END MY WEB PAGE FILTERS

for the newbies:
obviously, you can change the Name = "blah blah"
and text in the lines beginning ## can be changed or whole line deleted, because they are marking off
comments for Proxomitron to ignore

for non-newbies who have *google* filters, you may note a conflict, and need to arrange order of filters in [Patterns]
or edit filters to avoid conflict.


TEST
Test Dialog example: <a href=http://www.google.es/url?sa=U&start=2&q=http://www.guanoforums.com/ >
Test Dialog example: <p class=g><a
href=/url?sa=U&start=10&q=http://www.searchengineforums.com/apps/searchengine.forums/forum::seo-
101/thread::1119486523/action::thread/&e=7168 >Will redirecting home page <b>kill</b> <b>Google</b> ranking?</a><table
cellpadding=0 cellspacing=0 border=0><tr><td class=j><font size=-1><b>...</b> Engine Optimization 101 · Will redirecting
home page <b>kill</b> <b>Google</b> ranking? <b>...</b>

TEST
doing google search in browser which had been suffering an attack of g-tracking-redirects: I alternated between Proxo
bypassed, or not bypassed, while forced reload, or clicking Search button on Google's page. went to Groups, returned to Web.

{Further confirmation of working filter: due to a google page load, this line shows ten times in Proxo log:}
Match 1238: Un-redirect Google Tracking URLs {By Splib}

filter seems to work fine. I worry that some part might be less reliable than could be. so any suggested improvements are
appreciated.
 
S

Splibbilla

Splibbilla said:
Match = "<a href=/url?sa=U\&start=[#0:100]\&q=(\w)\1 >"



actually better to increase top end number to 1000th search result.
Match = "<a href=/url?sa=U\&start=[#0:1000]\&q=(\w)\1 >"
i don't think this adds noticeable processing time

in proxo's test dialog:
paste a whole Page Source of a google search result:
click proxo's "profile" button

for url?sa=U\&start=[#0:100]
Profile Results...
Sample Text: 17587 bytes
Successful Matches: 0
Avg time: 1.283000 (milliseconds)



for url?sa=U\&start=[#0:1000]
Profile Results...
Sample Text: 17587 bytes
Successful Matches: 0
Avg time: 1.558000 (milliseconds)
 
S

Splibbilla

google has been busy. this Match = " catches more variations (?), and gets rid of a new &e= cruft they've added to the tail of
the redirect.

also it turns out scholar uses redirects (always? or sometimes, as with Web searches?). but this filter doesn't fix scholar. It
might even mess up scholar redirect, sending you to error pages. :)

to restrict to Web searches, can change
URL = "*.google.*"
to
URL = "www.google.*"

## BEGIN MY WEB PAGE FILTERS
## {By Splib}
Name = "Un-redirect WebGoogle Tracking URLs 22-Jul-05"
Active = TRUE
Multi = TRUE
URL = "*.google.*"
Bounds = "<a*>"
Limit = 512
Match = "<a href=("|)/url?sa=U\&(|amp;)start=[#0:1000]\&(|amp;)q=(*)\1\&e=[#0:9999]("|) >"
Replace = "<a href=\1>"
## END MY WEB PAGE FILTERS


very seat of the pants filter, feedback improvements, welcome, if anyone reads this





hello




hello?


:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top