News for hackers. Stuff that matters.
Re:Firefox 59 released by teamhappy on Tuesday March 13, 2018 @10:24AM (#16576320)
"Added settings in about:preferences to stop websites from asking to send notifications"

Been waiting for this one.

Re:Firefox 59 released by Piskvorrr on Tuesday March 13, 2018 @10:31AM (#16576380)
Sites have been replacing the actual API request with a HTML5 overlay, precisely because of this - only when clicking "notify me" does the actual permission get requested, with the requisite dialog.

(The rationale is "once the permission is denied, there's no way to bring it up again; a dismissed HTML5 box can be brought up again an infinite number of times")

As for me, I went for WebAPI Manager, which blocks most of the annoyances (Vibrate API? Never saw anyone outside malvertising use that), while still allowing me to manually whitelist sites.

Re:Firefox 59 released by gnarbarian on Tuesday March 13, 2018 @11:05AM (#16576672)
I actually came up with a decent use for the vibrate function on this control [0]. It's a clickwheel type interface for picking an altitude. When the number changes it triggers the vibrate function making it easier to use the interface without looking.

[0] https://i.imgur.com/aiFFzLP.png

edit:

I've linked a demo below with the following caveat, this demo was set up exclusively as a mobile interface and still needs plenty of work. One of the issues is the clickwheel size is initialized as a percentage of the screen height when the page loads. So if you resize the window significantly or switch to mobile mode in dev tools, you must refresh the page to get the clickwheel size to adjust accordingly.

https://faa-aviation-data-portal.github.io/pirep/pirepMobile...

Re:Firefox 59 released by Ajedi32 on Tuesday March 13, 2018 @10:34AM (#16576422)
Good thing Firefox is working on that too: https://news.ycombinator.com/item?id=16574228
Re:Firefox 59 released by nevi-me on Tuesday March 13, 2018 @11:40AM (#16577026)
That's how it was meant to be implemented, you trigger the request in response to user action.

The direct and immediate one is laziness, and I wonder what the success rate of that is.

Re:Firefox 59 released by udfalkso on Tuesday March 13, 2018 @10:42AM (#16576483)
Right. This is also the current standard approach for asking for iOS push permissions. Without intermediary dialog, the app can't try again.
Re:Firefox 59 released by Cthulhu_ on Tuesday March 13, 2018 @11:05AM (#16576660)
And as app builders you have to explain people how to enable the permission anyways if people try to e.g. use their current location. Luckily since a few versions now, iOS allows apps to directly open a certain settings page, e.g. location services.
Re:Firefox 59 released by finchisko on Wednesday March 14, 2018 @12:53AM (#16582440)
But if user decline native dialog once, it will not be asked again (at least for location services). So intermediary dialog won't help on iOS.
Re:Firefox 59 released by kevin_b_er on Tuesday March 13, 2018 @12:08PM (#16577235)
Same dark pattern as phone apps that ask for permission with their own dialog then bring up real one or ones that ask for a rating but only send you to real app store rating system if you'll rate them highly.
Re:Firefox 59 released by analogic on Tuesday March 13, 2018 @06:42PM (#16580536)
Been trying to decide whether to do this myself, this really a dark pattern?

We're not asking until until they try to use the feature that requires location, but are using the additional pop-up. Rationale being that they probably want to allow it or they wouldnt be using app, and making it so they dont mistakenly deny and have to mess with setting is really more of a convenience.

But ya it does seem to go against the OS defined behavior.

Re:Firefox 59 released by pjmlp on Tuesday March 13, 2018 @11:01AM (#16576632)
I usually disable JS and white list the sites that actually deserve it.
Re:Firefox 59 released by Yaggo on Tuesday March 13, 2018 @10:28AM (#16576345)
Instead of obtruding modal, there should be just a little icon in address bar notifying that notifications are available, like some browsers used to notify about available RSS feed.
Re:Firefox 59 released by nine_k on Tuesday March 13, 2018 @10:46AM (#16576513)
By now, you can have almost it by clicking on the (i) icon before the URL in the address bar. It lists permissions, if any, including notifications.
Re:Firefox 59 released by darkstar999 on Tuesday March 13, 2018 @10:26AM (#16576337)
Yes! That is really being abused. I don't need notifications from recipe sites!
Re:Firefox 59 released by koolba on Tuesday March 13, 2018 @10:46AM (#16576508)
I’ve yet to find a site from which I do want to receive notifications.
Re:Firefox 59 released by cbr on Tuesday March 13, 2018 @11:40AM (#16577020)
I like calendar notifications, reminding me it's time to go do something
Re:Firefox 59 released by TremendousJudge on Tuesday March 13, 2018 @10:48AM (#16576531)
chat apps like discord and slack, mostly
Re:Firefox 59 released by barkingcat on Tuesday March 13, 2018 @10:53AM (#16576570)
Even discord and slack I don't want browser notifications. Inside their own tab, I can deal with ui elements. There's no need nor no want to have a page alert outside of the web page itself.
Re:Firefox 59 released by zaarn on Tuesday March 13, 2018 @11:01AM (#16576630)
It can be useful when you get mentioned, like for example, a user has pinged the moderator role where a quick reaction will be necessary. Desktop notifications can significantly reduce reaction time to important events (though, assuming you do the sane and set Discord to only notify you on mentions that aren't @here or @everyone)
Re:Firefox 59 released by ci5er on Tuesday March 13, 2018 @01:40PM (#16578000)
If they need an immediate answer, they are not children and know how to use a phone (I would hope).
Re:Firefox 59 released by crtasm on Tuesday March 13, 2018 @09:40PM (#16581559)
I'd imagine the majority of discord users don't share their phone numbers with the channel.
Re:Firefox 59 released by ci5er on Tuesday March 13, 2018 @10:06PM (#16581693)
Well, if you don't know me well enough to have my phone number, you certainly shouldn't have the privilege of making my computer beep at me, whenever the hell you feel like it. But, that's me. Maybe you like people interrupting you. (Or maybe you like interrupting people because you think you are too important to wait en queue.)
Re:Firefox 59 released by zaarn on Wednesday March 14, 2018 @03:53AM (#16583071)
The discord server I moderate has a strict "don't ping moderators unless it's important" rule and in general anyone who just pings for shits and giggles gets quickly muted.

I like it when people interrupt what I do when the server I moderate and therefore are responsible for is atm being swarmed by people spamming senseless shit into the chat or someone going of the deep end and yelling racist slurs, thank you very much.

Re:Firefox 59 released by crtasm on Thursday March 15, 2018 @12:11PM (#16594083)
I'm not suggesting your position is wrong, just that like IRC there's going to be lots of discord users who have a use for some kind of notification but would never want to give their number out.
Re:Firefox 59 released by ci5er on Thursday March 15, 2018 @12:32PM (#16594279)
Fair enough.
Re:Firefox 59 released by bluGill on Tuesday March 13, 2018 @11:17AM (#16576789)
Study websites reminding me that it is time for my next study session are great for establishing the habit of doing my studies.

When I was single I would have had time for 3 of them - total in my life. I think systems should automatically block all requests for notifications if you already have 3 since it is not possible for more than that to be useful. (the exact number is debatable, but 3 is close). Note that I said systems - I want firefox, chrome, ie, safari to work together across all the computers I have to keep the number down - for security reasons I understand they cannot but that would be ideal.

Re:Firefox 59 released by darkhorn on Tuesday March 13, 2018 @01:09PM (#16577675)
Web sites like gmail.com.
Re:Firefox 59 released by petecox on Tuesday March 13, 2018 @02:22PM (#16578446)
Indeed, once upon a time folks used RSS.

But we are in an age where any random website wants to send you realtime push notifications.

Instead of pestering you with an overlay that takes up screen real estate, the browser should indicate what subscription options are available for a page, e.g. in the address bar next to the page info icons.

Re:Firefox 59 released by ksec on Tuesday March 13, 2018 @10:31AM (#16576388)
It is still far too hidden for what should be a popular option.

Privacy > Permission > Notification Settings > Block new requests asking to allow notifications

It should be listed under > Pause notifications until Firefox restarts

Re:Firefox 59 released by y0ghur7_xxx on Tuesday March 13, 2018 @11:57AM (#16577161)
I agree, this was bothering me too. But they implemented it all or nothing. If I disable it in preferences it is completely disabled, no way to activate it for a single site.

They should have disabled the popup, but still allow me to activate it on a per site basis by clicking on the ⓘ in the url bar. Same for location, webcam and mic. I don't want sites to nag me with the location sharing notification, but on google maps I would like to enable it manually by pressing the ⓘ and granting permission.

Re:Firefox 59 released by hmaarrfk on Tuesday March 13, 2018 @01:10PM (#16577686)
When apps send me notifications on my phone, it is a reminder for me to uninstall them.

When sites send me annoying ~~adds~~ notifications, it is a reminder for me to turn on adblock for them.

edit: adds to notifications (also I can't spell obviously)

Re:Firefox 59 released by smoyer on Tuesday March 13, 2018 @11:36AM (#16576992)
I've been using the beta 59.0bxx series for quite a while and there are plenty of fun settings in about:preferences and about:config. One very important setting from preference, as I push those I know to adopt password managers, is the "Remember logins and passwords for websites" checkbox (don't save them in the browser). Another important security related setting for those with relatively new 2fa tokens is the "security.webauth.u2f" setting in about:config (still set to false by default with Firefox 59).
Re:Firefox 59 released by Shivetya on Tuesday March 13, 2018 @12:35PM (#16577426)
about:preferences is not the place for this as the vast majority of users know nothing about what they cannot see in a menu structure.
Re:Firefox 59 released by wtetzner on Tuesday March 13, 2018 @02:45PM (#16578663)
about:preferences is the page you end up at when you select the "Preferences" option from the menu.