This, but as a built-in browser feature, configurable per-site, and also for all the other potentially useful/creepy web APIs.