4 ms·
Maybe I missed it but I don't see a discussion about how the majority of sites are actually showing a "pre-prompt" for notifications before triggering the actua
by krelian 8y ago
Maybe I missed it but I don't see a discussion about how the majority of sites are actually showing a "pre-prompt" for notifications before triggering the actual prompt from the browser. This is similar to how apps ask you to rate them using some internal UI and only if you rating is the desired one (5 stars) send you to the app store so you can rate them there.
With the notifications a 3rd party script is used to display a Yes/No prompt for notifications and only when you click yes on that prompt it triggers the browser's yes/no prompt. This allows the site to show you the notification request on each session while if they used the browser's native prompt they could only show it once.
- rypskar 8y ago>>the majority of sites are actually showing a "pre-prompt" for notifications Do a majority of sites do this? I have never seen it, but have seen the browser notification prompt several times
- codedokode 8y agoI have seen this. For example, some online shops, newspapers.
- krelian 8y agoI'm in ecommerce so I visit a lot of online stores. I'd say about 80% of them are doing this.
- NoodleIncident 8y agoThe giveaway is that the arrow doesn't actually leave the page and overlap the status/url bar. It's pretty subtle
- jacurtis 8y agoThis is similar to how many iOS apps have gone to now. When iPhones first allowed permission prompting, every app used to just spam every permissions prompt as soon as you downloaded the app, hoping you accepted a few of them. Now I have noticed apps are showing in-app prompts that say "We need your location in order to quickly find rides near you. Do you want to allow location access now?". This then prompts the actual iOS permission prompt to show up if you accept.