Post Reply 
2013.03.30 filters for Google
Aug. 11, 2012, 08:05 PM (This post was last modified: Apr. 13, 2013 11:56 PM by JJoe.)
Post: #1
2013.03.30 filters for Google
I'm using the filters below. Has been working in latest IE9, Chrome, Firefox, Opera, K-Meleon with javascript enabled. Will break in a couple hours. Wink

Thumbnails are requested by mouseover the ">>".

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "! : JUMP: Google complete off (out) (13.03.30) [ADD]"
URL = "(www|[^/]++.encrypted).google.(*/)+{1}(^(images|csi)\?)((^?)$SET(\0=webhp?)|(^local)(*\?)+{1}(^(*\&)++complete=[0-9])$SET(\0=&))&$JUMP(\u\0complete=0)"
Replace = "$LOG(R$DTM(c) JUMP to google complete off)"

This new header filter "! : JUMP: Google RemovedParameters (out) (13.03.30) [ADD]" removes unlisted parameters from the Google Search URL.

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "! : JUMP: Google RemovedParameters (out) (13.03.30) [ADD]"
URL = "www.google.[^/]+/search\?&(*(^(^\?))(\3([\?\&](as_[^=]+|q|tbm|gbv|tbs|start|safe|tbo|num|complete|prmdo|esrch|biw|bih|sout|nfpr|lr|cr|nirf|img[^=]+|prx-command)=[^\&]+)\#$SET(removed=$GET(removed)\3))+{1,*}(?+)\3$SET(removed=$GET(removed)\3)$TST(removed=?*)$SET(kept=\@)$TST(kept=[\?\&]\6)$URL(\5\?)$JUMP(\5?\6)|$SET(removed=)$SET(kept=)!(^))"
Replace = "$LOG(R$DTM(c):RemovedParameters:$GET(removed))$SET(removed=)$SET(kept=)"

Code:
Before www.google.com/search?num=100&safe=off&q=proxomitron
After  www.google.com/search?num=100&safe=off&q=proxomitron

Code:
Before www.google.com/search?num=100&safe=off&q=proxomitron&more
After  www.google.com/search?num=100&safe=off&q=proxomitron

Previously, this Exceptions-U entry was used to remove the parameters:

Code:
www.google.[^/]+/search\?
     &(*(^(^\?))
     (\3([\?\&](as_[^=]+|q|tbm|gbv|tbs|start|safe|tbo|num|complete|prmdo|esrch|biw|bih|sout|nfpr|lr|cr|nirf|img[^=]+|prx-command)=[^\&]+)\#
     $SET(removed=$GET(removed)\3))+{1,*}
     (?+)\3$SET(removed=$GET(removed)\3)$TST(removed=?*)
     $SET(kept=\@)$TST(kept=[\?\&]\6) $URL(\5\?)
     $LOG(R$DTM(c):RemovedParameters:$GET(removed))$JUMP(\5?\6)
     $SET(removed=)$SET(kept=)
     |$SET(removed=)$SET(kept=))



Edit 2013.04.13: Added ! : JUMP: Google RemovedParameters (out) (13.03.30) [ADD], Added parameters to Exceptions-U entry, Corrected ! : JUMP: Google complete off (out) 11.12.13 [ADD], Google_2012_08_12.txt 90 removed
Edit 2012.08.19: Added parameters to Exceptions-U entry for Google search.
Add "Google_2012_08_19.txt": "Google Search: Alternate Display 12.08.19" shows links in vshid class, cached, similar, and ?.


Attached File(s)
.gif  example.gif (Size: 189.57 KB / Downloads: 865)
.txt  Google_2012_08_19.txt (Size: 22.09 KB / Downloads: 862)
Add Thank You Quote this message in a reply
[-] The following 5 users say Thank You to JJoe for this post:
whenever, defconnect, dave, chatterer, duffy98
Post Reply 


Messages In This Thread
2013.03.30 filters for Google - JJoe - Aug. 11, 2012 08:05 PM
RE: 2012.08.12 filters for Google - ProxRocks - Aug. 12, 2012, 01:06 AM
RE: 2012.08.12 filters for Google - dave - Mar. 30, 2013, 03:34 PM
RE: 2012.08.12 filters for Google - JJoe - Mar. 31, 2013, 02:28 AM
RE: 2012.08.12 filters for Google - dave - Mar. 31, 2013, 06:15 AM
RE: 2013.03.30 filters for Google - duffy98 - Apr. 15, 2013, 07:11 PM
RE: 2013.03.30 filters for Google - JJoe - Apr. 16, 2013, 12:36 AM
RE: 2013.03.30 filters for Google - duffy98 - Apr. 16, 2013, 01:45 AM
RE: 2013.03.30 filters for Google - Smoke - Oct. 24, 2016, 07:06 AM

Forum Jump: