D
D
Dominic2014-11-03 20:26:07
Habr
Dominic, 2014-11-03 20:26:07

Malware in Google Analytics script?

The main pages of Habrahabr, Toaster, Giktimes, etc. look like this for me:
5df7b97d8b5e4e38a8554299c5ad113a.png43797ec560d941edb2ad97dd277a3685.png
The same banner appears on all sites that use Google Analytics from scripts: google-analytics.com/ga.js and www.google-analytics.com/analytics.js Thanks to the block

var tmp = document.createElement('div');
tmp.setAttribute("align","center");
tmp.innerHTML =  "<iframe width='728' height='90' scrolling='no' marginwidth='0' marginheight='0' frameborder='0' src='http://promoloader.com/st.php?sa=32892&ps=385&sc=2&ec=1&c=1v'></iframe>";;
var iframe = tmp.firstChild;
var body = document.getElementsByTagName('body')[0]; 
body.insertBefore(tmp, body.firstChild);

Tested from OSX Yosemite, Safari 8 and Windows 8, Google Chrome.
Temporarily disabled the Google Analytics script on my sites. Is it just me having a problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ranwise, 2014-11-03
@Ranwise

if the router is smart, then they could break it ...

R
Ruslan, 2014-11-03
@buttersmai

Most likely, only you. Everything works fine for me.
And Google would hardly allow someone to break Google Analytics.

D
Dominic, 2014-11-03
@Dominic

Thanks for answers. I reset the router, changed the passwords, the problem is gone.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question