Hello,

I've noticed that the Google Translate code snippet throws an error
when someone has Skype number highlighting turned on in IE 7 or 8.

The error is:
Message: Object doesn't support this property or method
Line: 105
Char: 685
Code: 0
URI: 
http://translate.googleapis.com/translate_static/js/element/1/element_main.js


The line in question has: function Dq(a, b, c, d) {if (!a.d.c) b =
{ Ed: b, Dd: c, S: [], Cd: [], Na: [], jc: 0, size: 0, wa: !0 }, a.ob
= j, wq(a.d, a.b), a.d.e = d, xq(a.d, R(function (a) {this.ff(a);d()},
a)), yq(a.d, b)}

And it's the this.ff(a); that's throwing the error, I think.


All that's needed to replicate this is to create a blank page, add a
phone number that would be highlighted by the skype plugin (I assume
that varies per country), then add the code snippet, open in IE 7 or
8, and select a language.


For developers who are running into this, for whom the translation
element is more important than the annoying Skype thing, you can force
Skype not to highlight numbers by adding this to the head: <meta
name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />


Regards,
Flappie

-- 
You received this message because you are subscribed to the Google Groups 
"General" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-translate-general?hl=en.

Reply via email to