Naughty hack using the new browser APIs