Post Reply 
google: multi Url untangler
Oct. 15, 2005, 10:03 PM
Post: #1
google: multi Url untangler
can this filter be changed so that it would permit the right-side (on google.com on the very right side after a search) links to go directly to the address on the link?

Name = "Google: Multi URL Untangler"
Active = TRUE
Multi = TRUE
URL = "[^/]++.google."
Bounds = "<a\s*>"
Limit = 512
Match = "<a(*href=)\1$AV(/url\?*=((http|ftp)(s|)://)\2(\3(\&|%26)[a-z](=|%3D)[#1:*]|\3))\4"
Replace = "<a id="prxPref"\1"\2$UESC(\3)"\4"

for example, if searching for the word junk, on the right side there would be at least one item for junk at ebay.com but the link shows

http://www.google.com/url?sa=l&ai=B9JAvS...s500292289
Quote this message in a reply
Oct. 16, 2005, 01:19 PM
Post: #2
 
If it's on the right, it's an ad.
Which - as i assume - is getting blocked with current public configs.

But yes, the filter could likely be changed, i just doubt it's worth the effort and time, for above mentioned reason. Wink

sidki
Add Thank You Quote this message in a reply
Oct. 16, 2005, 05:48 PM
Post: #3
 
well, no, it's still shown on the right but my HOST blocks the actual jump (proxo shows 404 error)

I just wanted to learn how to make the untangle work
Quote this message in a reply
Oct. 16, 2005, 05:49 PM
Post: #4
 
I meant HOSTS as in \..\system32\drivers\etc\HOSTS
Quote this message in a reply
Oct. 16, 2005, 07:36 PM
Post: #5
 
The untangler does work, just not for ads.

What you've posted is a two years old version of my filter.
So first i would upgrade to the current one (as posted here):
Code:
[Patterns]
Name = "Google: Multi URL Untangler [sidki jjoe]"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)([^.]+.google|216.239|66.(102.[#0:15]|249.[#64:95])|64.233.1[#60:91])."
Bounds = "<a\s*>"
Limit = 512
Match = "<a\1("
        "(href=)\4$AV(/url\?*=(http(s|)://)\5((\6\&[a-z]=|\6%26[a-z]%3D)[#1:*]|\6))"
        "$SET(2=\4"\5$UESC(\6)")"
        "|\sonmousedown=$AV(return (clk|rwt) \(*)"
        ")(\3)"
Replace = "<a\1\2\3"
Then look at the page, notice the "Sponsored Links" above your eBay link.

Then merge this filter and see if those right links are still there:
Code:
[Patterns]
Name = "Google: Remove Ad Blocks [sidki JD]"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)(www.google|216.239|66.(102.[#0:15]|249.[#64:95])|64.233.1[#60:91])."
Limit = 32704
Match = "<("
        ""
        "("
        "table[^>]++(width=[23][50]%$SET(#=width.)|height=40$SET(#=height.))"
        "|!-- Strip Me -->$SET(#=strip.)"
        ")"
        "("
        "*</table >(^ <table)"
        "( <div[^>]++id=$AV(tpa[0-9]+)$INEST(<div,</div)</div >$SET(#=ad-div.))+"
        "|*(????????)\2(^?)$SET(0= <!-- Strip Me -->\2)"
        ")"
        ""
        "|table ("
        "cellpadding=0 cellspacing=0 border=0> <tr> <td valign([^>]+>)+{3}Tip:$SET(#=tip.)"
        "|([^>]+>)+{6} Get the Google Toolbar$SET(#=toolbar.)"
        "|[^>]++width=$AV(100%) style="border: 1px solid$SET(#=custom-ad.)"
        ")$INEST(<table,</table)</table >"
        ""
        ")"
Replace = "\r\n<!-- PROX-S: Removed by Google Ad Links Filter (\@) -->\r\n\0"

sidki
Add Thank You Quote this message in a reply
Oct. 18, 2005, 03:08 AM
Post: #6
 
groups.google.com still showed left side ad/links
when I added this, they also are gone

Name = "Kill: Google Groups Sponsored Links - Side (new left)"
Active = TRUE
URL = "groups.google.*/"
Limit = 12000
Match = "<table align=left cellspacing=0 cellpadding=0 border=0 id=ln style="margin-right:-3px">"
"*"
"</td> </tr>"
" </table>"
Replace = "<table align=left cellspacing=0 cellpadding=0 border=0 id=ln style="margin-right:-3px">"
"<tr valign=top>"
"<!-- this was the left side with member / new member>"
"</tr>"
"</table>"
Quote this message in a reply
Post Reply 


Forum Jump: