The Un-Official Proxomitron Forum
anyone fix the google images: Direct Links filter - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Config Sets (/forumdisplay.php?fid=43)
+--- Forum: Sidki (/forumdisplay.php?fid=44)
+--- Thread: anyone fix the google images: Direct Links filter (/showthread.php?tid=1614)



anyone fix the google images: Direct Links filter - nightfishing - May. 13, 2010 08:07 PM

..to work with the NEW site?


RE: anyone fix the google images: Direct Links filter - JJoe - May. 16, 2010 12:53 AM

Code:
[Patterns]
Name = "Less javascript at google images Jan28,2007"
Active = TRUE
URL = "$TYPE(htm)(images.google.[^/]+/|www.google.[^/]+/images\?)"
Limit = 64
Match = "if\(c\&\&c.getElementById\)*;"
Replace = "$STOP()if(1)var foo=1;"

Name = "Google Images: Direct Links     07.11.14 [po] (d.s) (TEST)"
Active = TRUE
URL = "$TYPE(htm)(images.google.|www.google.)[^/]+/"
Bounds = "<a\s*>"
Limit = 1024
Match = "*/imgres\?imgurl\=\1\&(amp;|)imgrefurl\=\2\&*"
        "|"
        "<cite>(^)$STOP()"
Replace = "<a class="Pr0XFlPref" href="\1" onmouseover="prxO.oFly.flShow(prxO.oFly.flLink("
          "'Originating Page','\2'),event,1);" onmouseout="prxO.oFly.flDHide();">"

?

HTH


RE: anyone fix the google images: Direct Links filter - sidki3003 - May. 24, 2010 09:01 PM

Fixed, thanks Smile!


RE: anyone fix the google images: Direct Links filter - JJoe - May. 24, 2010 10:55 PM

(May. 24, 2010 09:01 PM)sidki3003 Wrote:  Fixed, thanks Smile!

You are welcome but be careful.
I think I may have wanted some info from nightfishing.
I don't remember exactly what but I didn't get any.

It did work for me, however.

It also worked on the images at http://www.google.com/search?q=, iirc.
This may not be wanted.


RE: anyone fix the google images: Direct Links filter - sidki3003 - May. 24, 2010 11:08 PM

I think it's okay. WFM for old and new links. My fix is ...
Code:
URL = "$TST(hCT=*html)(images.google.|www.google.(*/)+{1}images\?)"
...for the filter, and ...
Code:
www.google.(*/)+{1}images\?    $SET(sUserFn=§c&&c.getElementById§)$SET(sUserFnR=!)
...for Exceptions.ptxt (leaving the "images.google." entry in place).


RE: anyone fix the google images: Direct Links filter - JJoe - May. 25, 2010 12:00 AM

(May. 24, 2010 10:55 PM)JJoe Wrote:  It also worked on the images at http://www.google.com/search?q=, iirc.
This may not be wanted.

By this I meant the image results at pages like
http://www.google.com/search?q=shonen%20knife


RE: anyone fix the google images: Direct Links filter - sidki3003 - May. 25, 2010 12:04 AM

Got it, but the www.google.(*/)+{1}images\? URL expression doesn't match these pages. Smile!


RE: anyone fix the google images: Direct Links filter - JJoe - May. 25, 2010 12:10 AM

(May. 25, 2010 12:04 AM)sidki3003 Wrote:  Got it, but the www.google.(*/)+{1}images\? URL expression doesn't match these pages. Smile!

That's ok. I just wanted to make sure I was understood. Smile!

Edit:
I just finished mowing an acre of grass with a push mower.
I'll make even less sense than normal for a couple of hours.
I should probably hide my wallet but I likely wouldn't be able to remember where I hid it.


RE: anyone fix the google images: Direct Links filter - sidki3003 - May. 25, 2010 12:27 AM

LoL


RE: anyone fix the google images: Direct Links filter - nightfishing - May. 28, 2010 08:26 PM

(May. 24, 2010 10:55 PM)JJoe Wrote:  You are welcome but be careful.
I think I may have wanted some info from nightfishing.
I don't remember exactly what but I didn't get any.

That was in the other thread, I think Wink

This fix is WFM, thank you!