News for hackers. Stuff that matters.

Ask HN: Why do many sites ask for recording permissions on Android?

I was reading a story on CNN earlier today (from an HN) link. While reading, after scrolling through part of the story, I was prompted with an Android permissions dialogue asking for access to the device's microphone. This has become a common experience for me when browsing on mobile, but not on desktop browsers. What is going on on these pages such that they are asking for permission to record audio?

Here is the story I mentioned, though it is not unique in any way I can discern. https://edition.cnn.com/2019/01/10/business/costco-kirkland-signature-brand/index.html

( 8 comments | 18 points | on HN )
Re:Ask HN: Why do many sites ask for recording permissions o... by codemusings on Monday March 25, 2019 @09:26AM (#19482225)
You have to consider that this might very well be an advertiser or some sort of tracking technology embedded in CNN that's requesting this via WEB API. CNN is not controlling what gets executed via 3rd party scripts.

The abuse of the Notifications WEB API for instance is also very common.

Re:Ask HN: Why do many sites ask for recording permissions o... by smt88 on Sunday March 24, 2019 @12:03PM (#19477033)
I've never experienced this on any phone with any version of Android. You may want to post in an Android forum and/or get a new phone. You may have some malware on there.
Re:Ask HN: Why do many sites ask for recording permissions o... by greggyb on Sunday March 24, 2019 @01:16PM (#19477469)
Based on comments below I realize I did not give much other useful information.

I run uBlock on Firefox on latest Android. This has happened occasionally in my memory for quite a while. It seems to only be on news sites, though memory may be unreliable there.

Interestingly, I do not encounter the same when I go back to that article now. I did notice another user post a comment asking about the same: https://news.ycombinator.com/item?id=19475435

Pixel2. Android 9. February Security patch. Firefox 66.0.1. My personal policy for security settings for things is to set everything to "ask me every time" or similar.

Re:Ask HN: Why do many sites ask for recording permissions o... by pkilgore on Sunday March 24, 2019 @11:47AM (#19476966)
Doesn't happen for me when I just tested (and I cannot recall it ever happening).

Android 9, Security Patch Feb 19

Chrome 72

Re:Ask HN: Why do many sites ask for recording permissions o... by londons_explore on Monday March 25, 2019 @03:44AM (#19480873)
Can you screenshot?

Was it Firefox asking for the permission, or android asking for the permission?

Re:Ask HN: Why do many sites ask for recording permissions o... by popotamonga on Sunday March 24, 2019 @11:34AM (#19476892)
not happening to me, never did
Re:Ask HN: Why do many sites ask for recording permissions o... by snrji on Sunday March 24, 2019 @12:22PM (#19477133)
Happened to me with another application that shouldn't use the microphone.
Re:Ask HN: Why do many sites ask for recording permissions o... by l24ztj on Sunday March 24, 2019 @12:31PM (#19477182)
Maybe your ad blocker is misconfigured, an ad was loaded and requested that permission?