Post Reply 
Thumbnails for Google
Aug. 30, 2004, 01:20 PM
Post: #1
 
I came accross a Firefox extension (McSearchPreview) that grabs Alexa thumbnails for Google search results.
Here is the Proxomitron version of it: Smile!

Code:
[Patterns]
Name = "Google: Show Thumbnails"
Active = TRUE
URL = "$TYPE(htm)www.google."
Bounds = "<p class=$AV(g)*</a >"
Limit = 512
Match = "<p(*href=$AV(\2)*>)\1\3"
Replace = "<p style=height:82px;\1"
"<img style=border:0px;margin-right:8px;width:112px;height:82px; align=left"
" src=http://thumbnails.alexa.com/image_server.cgi?size=small&url=$ESC(\2)>\3"

Place it below any Google link-unprefixing filters if present.
You may also want to block Alexa's "picture coming soon" placeholder:

Code:
[HTTP headers]
In = TRUE
Out = FALSE
Key = "Location: Block Alexa's "No Pic" Thumbnail (In)"
URL = "thumbnails.alexa.com/"
Match = "http://thumbnails.alexa.com/thumbnails/images/no_pic_"
Replace = "http://local.ptron/killed.gif"

You may need to save and reload the config after merging, before the Location filter works.

sidki
Add Thank You Quote this message in a reply
Sep. 28, 2004, 08:14 PM
Post: #2
 
Scary how much we think alike... [lol]

In Proxomitron we trust.
Add Thank You Quote this message in a reply
Sep. 28, 2004, 08:30 PM
Post: #3
 
You guys could be twins! :o

*Gets back to studying for math, biology and accounting tests for tomorrow*
Visit this user's website
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: