Hacker News new | past | comments | ask | show | jobs | submit login

JS hack idea! Play a silent sound to force Chrome to not throttle your page when it's not primary.



Please don't.

Also, Chrome puts a little speaker icon on the tab, so users might notice.


In the long run, the probability of this being exploited is approximately 100%. I'm surprised they left in such an obvious loophole.


I'm not sure how usurping this is an 'exploit'. It's used as a heuristic to save battery life.

and if you're trying to run down a user's battery I can think of better ways.


The goal isn't to run down the users' battery. The goal is to do whatever timer callback processing a tab is doing that got throttled in the first place.


Well you can mine bitcoins or run some botnets on victims computer.


Need to do some more testing, but I have suspicions that Chrome actually doesn't put the sound icon on the tab if it's playing silent audio.


Throw in an inaudible frequency once per second at a low volume. I doubt they're doing signal processing to decide if a human can actually hear the output.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: