3 ms·
> there should be a way to ask the user for permission where it is reasonable. Beware the law of unintended consequences - if you did that, every single add wo
by MR4D 7y ago
> there should be a way to ask the user for permission where it is reasonable.
Beware the law of unintended consequences - if you did that, every single add would pop up an annoying permission box.
( And before you say “no, ...” remember that there are more unscrupulous ad/malware companies that will prove you wrong. )
- nitwit005 7y agoThere are already a bunch of those pop ups that trigger when a script tries to access the microphone, USB, camera, etc. There just isn't any unified API for asking for permissions.
- bryanrasmussen 7y agoI was working on a SPA that needed to ask location information to tell the user service outages in their area, we spent a lot of time optimizing the permissions asking flow, making sure we didn't ask too often etc. So I think companies with scruples, not malware oriented, or just possessed of good common sense will ask only when necessary.