hi, first thanks for this handy module and all your work.
I wondered if you could suggest how to make a change so that when a site is run through googles translation service (http://www.google.com/translate_t) , it doesn't mark all links as external.
As you may know when run through the translator the browser location url changes to something like
http://64.233.179.104/translate_c?
So I was thinking if a regex check could be added for something like
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/translate_c.+
The other thing it does is append 'via translate.google.com' into the existing user agent, so that would be another way to spot it. Ex here is a user agent after the translator modified it and how it's sent in the request.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1
.8.1.14) Gecko/20080418 Firefox/2.0.0.14,gzip(gfe) (via translate.google.com)
I"m happy to add this in I've just been trying to figure out where in the js.
Without this every link they click on wants to open in a new window.
thanks
Comments
Comment #1
kalin9 commented