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
Post Reply 


Messages In This Thread
[] - sidki3003 - Aug. 30, 2004 01:20 PM
[] - JD5000 - Sep. 28, 2004, 08:14 PM
[] - Kye-U - Sep. 28, 2004, 08:30 PM

Forum Jump: