function detect_transl(t){var a=0;setInterval(function(){1>a&&($("html").hasClass("translated-ltr")||$("html").hasClass("translated-rtl"))&&(alert("Please be advised that translation in this experiment will result in invalidation of your test and is detected."),a++,$("html").hasClass("notranslate")===!1&&$("html").addClass("notranslate"))},t)}$(document).ready(function(){detect_transl(300)});