Live data from Hacker News

Reducing notification permission prompt spam in Firefox

blog.nightly.mozilla.org

261–268 of 268 posts

Re: Reducing notification permission prompt spam in Firefox

#261
post #55

Earlier quoted context omitted.

Firefox and Chrome don't steal focus in this dialog. It's not modal either.

Firefox absolutely steals focus for this permissions dialog, as recently as AFTER you made that post (Firefox 66.0.1).

Can't reproduce. Tried stern.de, Firefox 66. Scrolling with keys still works. I tried clicking the search as fast as possible before the permissions dialog comes. Key input still works after dialog appears.

Re: Reducing notification permission prompt spam in Firefox

#262
post #133

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 s…

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

#263

Earlier quoted context omitted.

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%?

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 a…

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

#264
post #21

Downgrading the prompt to a non-popup icon in the address bar unless it follows a user action sounds like the perfect balance. This won’t entirely stop sites which are properly trying to request the permission in the worst case, and the navbar icon is unobtrusive enough that if it gets spammed it’s no big deal. Actually I think it makes sense to persistently show the notification icon in the navbar once the permissio…

This is exactly the correct behavior. I've been trying to figure out if it could be enabled through an extension.

I'm a little worried that sites will all start using javascript to trigger stuff following any user action, much like a bunch of terrible sites do now with popup ads. I think the best behavior would be to only show the icon, and let sites that need it use the DOM to tell the user to click the icon. If sites want to trash their own DOM so try to get users to enable notifications, so be it, but at least this could be blocked by ad blockers. On the other hand, I don't see Mozilla doing this because they're far too concerned with discoverability by novice users.

Re: Reducing notification permission prompt spam in Firefox

#265

Earlier quoted context omitted.

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.

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.

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

#266
“Reduced” should be “zero”. Prompts are fundamentally broken; they replace simple interactions with “STOP, answer this question NOW!” scenarios. A sensible solution would be: automatically deny by default because sites don’t really need to be asking up front! They can either give you another way (e.g. button/field) or they don’t have business querying this in the first place.

Simple example: On one site I used to just type in my zip code (easy but explicit transfer of information) and it immediately zoomed a map to my specified area. Then one day they changed it to magical location tracking; now, before I can even enter the stupid zip code (still an option and all I ever want), I get a “STOP! Share location!?!?” kind of interaction first. I have to find it, close it, then enter a zip. I had the zip code in my head and would be able to type it in a second with no delay but instead, I am distracted. Or maybe I was copying and pasting. Everything about immediate form access was efficient.

All prompts have this problem. The potential for a prompt out of the blue makes direct actions slower, and any other case where a prompt might appear is going to be an undesirable interruption telling you about things you didn’t want happening anyway. User agents should be saying No to unreasonable requests for me, like a good manager.

Re: Reducing notification permission prompt spam in Firefox

#267

Earlier quoted context omitted.

This type of cancer is what we need in-page popup blockers for. Mozilla has been promising to work on it and started a data collection program that I contributed to, but there are no news to share and the data doesn't seem to be publicly accessible. What a disappointment.

Nudge and you shall receive! https://github.com/mozilla/popup-urls Thank you for contributing!

Thanks!

Do you have information about the progress of the project? How about a new extension that makes you click to remove the pop-up? The data collected that way could almost directly go into a neural network.

Do you happen to know whether there are extensions to automatically answer GDPR pop-ups (indeed while blocking in page pop-ups these should probably receive special treatment)?

Re: Reducing notification permission prompt spam in Firefox

#268

“Reduced” should be “zero”. Prompts are fundamentally broken; they replace simple interactions with “STOP, answer this question NOW!” scenarios. A sensible solution would be: automatically deny by default because sites don’t really need to be asking up front! They can either give you another way (e.g. button/field) or they don’t have business querying this in the first place. Simple example: On one site I used to jus…

The difference is that the ZIP code doesn't tell them the exact house in which you live.
Post reply on HN