I would like to ask in what situations could this even be possible? I've got a website with a window.onresize
event, works in firefox, IE9, Chrome Incognito windows, but not in Chrome. The thing is, it used to work before I made some unrelated changes to my code, or before I updated chrome yesterday (? can't tell).
No javascript console errors are reported in firefox nor in chrome.
Not even the most basic thing works window.onresize = t; function t (e) { alert("wtf?");}
.
Is it possible that I've missed some } somewhere that magically makes the code still work everywhere except in chrome and without showing any errors? What's the javascript difference between chrome and chrome incognito?
Sorry for the obscure question, but really, that's all I've got, and I've spent some time on this...
[EDIT] It was ScreenCapture's fault, a google extension: https://chrome.google.com/webstore/detail/cpngackimfmofbokmjmljamhdncknpmg
But this is a problem, I can't expect people to turn off their extensions to view my website. Why is it interfering with my code like that?