Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
echoangle
86 days ago
|
parent
|
context
|
favorite
| on:
The <usermedia> HTML element
But it’s only showing a button and then the prompt when you click the button. Unless you click the button, it can’t spam you with permissions.
timando
86 days ago
[–]
Just make the button transparent over the whole site and make it so you have to accept before it will let you do anything.
echoangle
86 days ago
|
parent
[–]
Opacity is fixed at 1. and obviously you can just break your own site until you get permission, but then people will probably leave before they give your website which has no business accessing the camera permission.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: