var check_lenovo_iv = setInterval('checkLenovo()', 2000); function checkLenovo () { if (window.similarproducts) { // this variable is defined as soon as the malicious payload from Superfish is injected into the DOM // display a warning to your visitor that they've been hacked by Lenovo clearInterval(check_lenovo_iv); } }