Fix Google Tracking/redirect URLs, Proxo filter

Discussion in 'Firefox' started by Splibbilla, Jul 19, 2005.

  1. Splibbilla

    Splibbilla Guest

    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.

    --------
    Same goals as Proxo, similar method (for good and bad). Greasemonkey
    http://firefox.group.stumbleupon.com/forum/11004/
     
    Splibbilla, Jul 19, 2005
    #1
    1. Advertising

  2. Splibbilla

    Splibbilla Guest

    Splibbilla <> in news:Xns96981751DBF9F7@64.85.239.19:

    > 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)
     
    Splibbilla, Jul 19, 2005
    #2
    1. Advertising

  3. Splibbilla

    Splibbilla Guest

    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?


    :)
     
    Splibbilla, Jul 23, 2005
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. UKALUM85
    Replies:
    0
    Views:
    4,459
    UKALUM85
    Jun 24, 2003
  2. Blinky the Shark

    Google Groups - Old Interface URLs

    Blinky the Shark, May 6, 2005, in forum: Computer Support
    Replies:
    7
    Views:
    3,077
  3. Edw. Peach

    Tracking Someone Tracking Me

    Edw. Peach, Jun 15, 2005, in forum: Computer Security
    Replies:
    4
    Views:
    701
    Olden Doode
    Jul 7, 2005
  4. Dennis

    Google Redirect Problem

    Dennis, Jan 23, 2007, in forum: Computer Support
    Replies:
    2
    Views:
    3,734
    Shep©
    Jan 24, 2007
  5. Replies:
    1
    Views:
    611
    Ralph Fox
    Sep 12, 2007
Loading...

Share This Page