News for hackers. Stuff that matters.
Re:Reducing notification permission prompt spam in Firefox by LeonM on Tuesday April 02, 2019 @06:45AM (#19552712)
Serious question though: has anyone here ever used the notifications for anything other than web based IM (slack, whatsapp)?

I think the use case for legit notifications is very small, thus the UI should be an opt-in, rather than an intrusive pop-up.

I never understood why browser makers gave it such a prominent UI, and of course in this attention seeking market it was bound to be abused. The new UI that Firefox is suggesting in the article is good, this should have been like this from the first day. I hope other browser vendors quickly follow.

Re:Reducing notification permission prompt spam in Firefox by Klathmon on Tuesday April 02, 2019 @07:49AM (#19553041)
I have a self-hosted home automation platform with a web UI that uses web notifications for tons of things around the house (for example, a notification shows up on my device if the front-door camera notices my face, and the notification has 2 actions I can take right from the notification: "Turn on the outside lights" and "unlock the front door").

I also have it enabled for a website that sends out notifications when they go live for their podcast, the google play music site has them enabled for me to show song titles and album art when the song changes, and Circle-CI has them turned on for when builds pass/fail, but for some reason that one only works when I have the tab open...

That being said, i'm more than happy with this new UI! It's easy enough to find that sites can implement directions for users to go enable it if they want, and it's not in everyone's face for every news site that spams asking for it.

Re:Reducing notification permission prompt spam in Firefox by StavrosK on Tuesday April 02, 2019 @06:57AM (#19552770)
I use OneSignal on my blog (https://www.stavros.io/), which shows a small bell on the bottom right. If you click the bell, you get prompted to enable notifications for new articles. Quite a few people have done that, as it's pretty convenient if you want to be notified of new content.
Re:Reducing notification permission prompt spam in Firefox by naikrovek on Tuesday April 02, 2019 @07:55AM (#19553064)
Thank you for tying that to a user action, and not page load.
Re:Reducing notification permission prompt spam in Firefox by StavrosK on Tuesday April 02, 2019 @08:05AM (#19553136)
OneSignal does have that option, which I find supremely annoying. They should just take that out and always require you to click on the bell before triggering the notification.

Hopefully, with this browser change, they will.

Re:Reducing notification permission prompt spam in Firefox by _alastair on Tuesday April 02, 2019 @10:10AM (#19554238)
I was part of a team that used web notifications as an experiment in sending live election results to people's devices:

https://medium.com/the-guardian-mobile-innovation-lab/genera...

It's a pretty fascinating feature set. You can attach images, update the content of an existing notification, attach buttons to perform custom actions, choose to make it silent or not... I think there is more utility than most implementations in the wild would suggest. One fascinating aspect of it for me is that you can do very time limited things (e.g. send election results) - users might be reluctant to download an entire app just for one evening of updates, but being able to send notification through the browser sidesteps that entirely (and more broadly, it puts a useful tool in the hands of people who can't afford native development).

That said, I agree that it's total madness that the default UI allows you to ask for permission on page load. We always had the prompt behind a button on the page and it worked great, so I think Mozilla have the right idea here.

Re:Reducing notification permission prompt spam in Firefox by pastullo on Tuesday April 02, 2019 @08:32AM (#19553327)
I agree with you sooooooo much! Those popups are extremely annoying and mostly used on useless SEO blog traps. The whole notification UI should be much less prominent. If you really want to enable those notification, they should let you opt-in
Re:Reducing notification permission prompt spam in Firefox by GordonS on Tuesday April 02, 2019 @09:04AM (#19553579)
Nope, IM is my only use case too.

It's actually really irritating the number of random websites that immediately popup an obtrusive notification prompt - I can only guess that they are hoping people accidentally click on the wrong button, and don't know how to disable it...

Re:Reducing notification permission prompt spam in Firefox by kamarg on Tuesday April 02, 2019 @09:25AM (#19553776)
I've used it for letting customers know that artwork is ready for approval on a custom printing site. We give them the option of notification between email, text, and browser notification and our artists average creating a proof for approval in under an hour. Last time I checked, we have about 5% of people opt for browser notification only which is higher than I expected.
Re:Reducing notification permission prompt spam in Firefox by Improvotter on Tuesday April 02, 2019 @07:45AM (#19553024)
I wish GitHub had web push notifications. I'm happy that Reddit has them, but they barely work to be honest. Sometimes it seems to work, most of the times it just doesn't.
Re:Reducing notification permission prompt spam in Firefox by naikrovek on Tuesday April 02, 2019 @07:57AM (#19553079)
GitHub has an API which you can use to subscribe to them.

I know that's not what you're asking for, but it's something to build upon.

Re:Reducing notification permission prompt spam in Firefox by Improvotter on Thursday April 04, 2019 @07:25AM (#19570923)
I know and I've been thinking about making it. Though I feel like it's not worth it. I would rather spend my time working on something that other people can use as well. I don't think many people are interested in a small app that only does GitHub notifications.
Re:Reducing notification permission prompt spam in Firefox by chrisjc on Tuesday April 02, 2019 @10:19AM (#19554313)
Yes, calendar apps like google calendar. Push applications like Pushbullet for Android. But I think your point remains... there are only a few good reasons for notifications.
Re:Reducing notification permission prompt spam in Firefox by mssngrtrn on Tuesday April 02, 2019 @07:46AM (#19553031)
> Serious question though: has anyone here ever used the notifications for anything other than web based IM (slack, whatsapp)?

I'm building a tool that uses browser notifications to ping when something new is created. It only asks for permission, when a user clicks the button which is clearly labeled to "setup browser notifications". It also sends only 1! notification until the browser tab is opened again, to not spam.

Re:Reducing notification permission prompt spam in Firefox by EamonnMR on Tuesday April 02, 2019 @08:52AM (#19553469)
Judging from the responses, I think the reason is that browser vendors want browsers to stay relevant in a world of Apps.
Re:Reducing notification permission prompt spam in Firefox by howard941 on Tuesday April 02, 2019 @01:41PM (#19556668)
At least one forum uses them to notice followup posts https://devzone.nordicsemi.com . It's redundant in that the forum can be told to notice by email.
Re:Reducing notification permission prompt spam in Firefox by djsumdog on Tuesday April 02, 2019 @07:14AM (#19552860)
Looking at my permissions, it'd only Mastodon/Pleroma instances and chat. The other 80~90% of sites that request permissions are blocked.

The most annoying are news/blog sites. Who the hell actually clicks Allow? Like 1%? 2%?

Re:Reducing notification permission prompt spam in Firefox by jacurtis on Tuesday April 02, 2019 @09:51AM (#19554032)
According to the article, overall acceptance rate on the notifications popup is 3%. But that will include legitimate notification requests like Gmail, Discord, Slack, etc..

That also includes people that just randomly accept any notification their computer gives them. This is older people who don't understand the specific permissions they are granting.

There was one time I was clicking on a navigation element right as a popup for notifications popped up and i accidently clicked it. I immediately went in and reverse the permission to block access, but I am sure there are use cases of accidental acceptance as well.

So considering all of that. My guess is that real intentional adoption is below 1%.

Re:Reducing notification permission prompt spam in Firefox by efreak on Wednesday April 03, 2019 @02:50PM (#19566081)
This is an occasional problem I've had on multiple platforms (Android/Windows OS, browser UI, ZoneAlarm way back when, etc). Why is it not yet a thing to ignore the first click within 50-100ms or so of a dialog popping up? Especially on desktop where you can find out if the cursor was already in place before the pop-up showed.
Re:Reducing notification permission prompt spam in Firefox by tendencydriven on Tuesday April 02, 2019 @08:17AM (#19553221)
I'd imagine a lot more than 1-2%. Watching my Father use his phone the other day and he just says yes to every single thing that pops up without reading it first. I imagine a lot of the older generation are like that.
Re:Reducing notification permission prompt spam in Firefox by jacurtis on Tuesday April 02, 2019 @09:46AM (#19553975)
Gmail and G-Suite (professoinal Gmail) allow useful notifications. But those notifications only popup while a Gmail tab is open (such as in the background or not visible). So I like to open gmail while I am waiting for an email, I will get the notifications, can read the email, then close that tab and notifications are no longer arriving. One of the very few use cases for notifications that I appreciate. I have the same setup for Slack & Discord online versions.
Re:Reducing notification permission prompt spam in Firefox by vasco on Tuesday April 02, 2019 @06:51AM (#19552744)
Used them for paging/escalation systems (VictorOps, Pagerduty). Agree with all you wrote though, these are very niche use cases.
Re:Reducing notification permission prompt spam in Firefox by 13of40 on Tuesday April 02, 2019 @09:59AM (#19554125)
I clicked "accept" on about half a dozen of these from news sites sometime back just to see what would happen and I never got any alerts. I suspect sites enable it just because their news platform has a checkbox for it, then never send anything out because the acceptance rate is so low (or it would take more effort than checking a box).
Re:Reducing notification permission prompt spam in Firefox by jsight on Tuesday April 02, 2019 @09:33AM (#19553854)
The issue is that people will overlook it on IM sites now and then complain that there is no way to get notifications without an app.

So, the browser vendors worked around this by making it prominent. I think the interface was actually pretty reasonable for these legitimate use cases.

Unfortunately, reasonable tools that capture traffic will always be abused.

Re:Reducing notification permission prompt spam in Firefox by codedokode on Tuesday April 02, 2019 @10:00AM (#19554134)
I would not like to use notifications for anything, including IM. Sometimes I get a lot of messages and I don't want them to distract me all the day.

A better idea is just to highlight the program in the task bar, as Windows XP did. In this case you can view the messages when it is convenient for you.

Re:Reducing notification permission prompt spam in Firefox by corben on Tuesday April 02, 2019 @08:25AM (#19553276)
We use them at https://hund.io for notifying of a change on a status page (we're a status page provider). Users have to subscribe to push in order to be prompted by the browser for permission.
Re:Reducing notification permission prompt spam in Firefox by alex_duf on Tuesday April 02, 2019 @09:37AM (#19553896)
Our deployment tool at work sends you a notification if the deployment failed
Re:Reducing notification permission prompt spam in Firefox by nkrisc on Tuesday April 02, 2019 @09:21AM (#19553745)
I've seen some sites that do long tasks use them to alert you when the task is finished, so you can do something else while waiting and not miss when it finishes.
Re:Reducing notification permission prompt spam in Firefox by rjmunro on Wednesday April 03, 2019 @12:47PM (#19564885)
I use them for following YouTube channels that I like. I suspect many people would do this.
Re:Reducing notification permission prompt spam in Firefox by muricula on Tuesday April 02, 2019 @01:44PM (#19556701)
lichess, a chess website, uses them so you can tab away while waiting for a game to start.
Re:Reducing notification permission prompt spam in Firefox by chewbacha on Tuesday April 02, 2019 @09:48AM (#19553986)
I use it for calendar notifications.
Re:Reducing notification permission prompt spam in Firefox by jdofaz on Tuesday April 02, 2019 @03:40PM (#19557842)
gitlab and some internal sites