<guess>I don't know the specifics. But my guess is this javascript using the media capture API. If a web site uses it, the browser prompts. But the localhost is probably exempt. So if you serve your page from a locally installed web server - there's no "annoying" prompt.</guess>