Comments on How to detect machine-translated webpages

Be civil and read the entire article first. This is not a support forum. Comments from new contributors are moderated. English only.

Leave a comment

Required. Optional. E.g. your homepage, Twitter. or Email required unless anonymous. Not published or shared. Reuse to be recognized as the same commenter.
Plain-text only. Begin lines with a > character to quote.


I think you have a mistake in this code block:

> !!document.querySelector("html.translated-ltr, head.translated-rtl, ya-tr-span, *[_msttexthash]");

Shouldn't it be "html" instead of "head" for rtl?

You're right, Alex. Thanks for notifying me. I'll update the article.


google translate now also uses following url: