Skip to content
Advertisement

Tag: html5-notifications

Notification.requestPermissions – no dialog shown, “automatically blocked” message in Chrome

I’m testing HTML5 notifications on localhost, with SSL. I’ve reset the Chrome settings for the site (by clicking the lock icon in the URL box – “site settings”), and double checked notification setting is set to “Ask (default)”. Now here’s my code: But once the code is run, no permissions popup is displayed, instead I get this lock icon in

Advertisement