loading...

correct way to request user permissions in browser?

twitter logo github logo ・1 min read

This is what happens when I navigate to any website these days.

I open the website.
boom we use cookies is that ok.
me: yes (as if I have a choice)
do you want to enable push notifications.
me: no
add to home scre...

me: close the browser.

any ideas/suggestions how to request permissions without annoying the user?

twitter logo DISCUSS (2)
markdown guide
 

Cookies: at the bottom of the browser window, with both options (allow/disallow).
Push notifications: Ask once a month and first ask after relevant action (read whole article or 3 articles)

 
Classic DEV Post from May 30 '19

Which is the Best Static Site Generator and Why?

Best static sites generator and reasons

pranay rauthu profile image
pranay 💓 🌐