I once had a script looking like the one below:
window.open("SameSiteUrl");
alert("spamspamspam");
it had some strange laggy effects... Anyways, a friend "pranked" me by running the script overnight. My PC had a shutdown timer, but when I went to turn it on, it said that one of the CPU cores was failing to respond. Later I found out that it got fried.
My point is, can JS scripts like this really be used to damage your data nowadays?Or worse, damage your computer like it did to mine? If so, how common is it? I haven't noticed such scripts before until recently again. I'm more worried about my data then my hardware.
I know javascript is kinda limited, but I also know you can easily lag a tab or browser to death with it.