14 ms·
Pretty neat. If you leave the site open and run the following code snippet, you'll be able to heat your house with your laptop. window.onscroll = function(e
by VoodooJuJu 4y ago
Pretty neat.
If you leave the site open and run the following code snippet, you'll be able to heat your house with your laptop.
window.onscroll = function(ev)
{
if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight) {
window.scrollTo(0,0);
};
};
function pageScroll()
{
window.scrollBy(0,1);
scrolldelay = setTimeout(pageScroll,10);
}
- initramfs 4y agoyeah, my cpu usage rose to above 80% without any running any additional code, though I couldn't say if it's a bitcoin miner as I am code-illiterate, for the most part.
- johnnypangs 4y agoIt seems like it just scrolls through the page on a loop.
- initramfs 4y agoyes, I think the cause for the high cpu usage is a large, possibly uncompressed image file that takes a bit of processing to display in the browser, although other methods could be used to limit the processing or make the computation more efficient.
- narag 4y agoI had the same car model for a couple of years, in red. Mine did have reverse, but the engine used to heat the same as your script and then generated a dense cloud of white smoke. This is the coolest thing I've seen this week.