Hacker News new | ask | show | jobs
by Hedja 2179 days ago
In most browsers, you can go into settings and default it to block without asking.
1 comments

most sites use a html modal to ask for the permission, and if you answer yes they make the request to the browser api which shows his own modal.