Hacker News new | ask | show | jobs
by mmahemoff 4985 days ago
I do something similar on my own site, but the difference is it only kicks in if playing has started. I think they have the right intention, but they need to add an if statement in their window.onbeforeunload hook. (Edit - I see Grooveshark said they only do it for the first 30 seconds of the site loading as a workaround.)

I haven't had any complaints about it and personally find it useful. Especially as it lets me quickly "close all right tabs" without stopping to think if I'm about to break what I'm listening to. However, these are podcasts and maybe people are less fussed about a random song stopping halfway through.