Vibration API
developer.mozilla.org
developer.mozilla.org
Take this out back and put it down next to the blink tag and chained alerts without auto dismissal.
Edit: I was thinking of simulation gaming, such as racing (forced feedback, hitting the wall), Fishing (fish on the line, rumble as forced feedback, etc)
I really feel a lot of people in Silicon Valley have not ever just sat back and watched a non-technical user use a computer: The state of the industry is woefully disconnected from actual user experience. I beseech anyone who thinks a permission prompt solves a problem, rather than creating one, to go to a senior living community, and just watch people use computers.
Experiences like this make me wish there were chromebook like machines that didn't spy on users, because that's really the only ethical solution.
Non-technical users can have the locked down machines, with a way to opt in to a higher degree of access possibly, and power users can get the full machines.
I know this sounds elitist of me, but this is the only way I honestly see everyone getting what they want.
I think HTML should be split in web sites, and applications. If a page wants to use the camera, or vibration, etc., it should take you to "Programs & Features" or the Apps settings and say:
"This website XXX is a program, not a page. Do you want to install this program?"
I would even consider make the list of "programs" visible at all times on the edge of the last start screen page, and limit it to 12 programs or so, in order to prevent people from installing all kinds of junk.
You have reinvented native apps
The problem is when all your user experience studies grab folks from tech communities, you start to think people can or want to cope with your constantly evolving stack of features, when they probably just want to find out how to get to a restaurant that day.
There are now dozens of APIs requiring a permission prompt. Enough.
Another comment suggests bundled permissions for elevated apps, with a simpler prompt, if any. I think this is the inevitable way to go.
Also, maybe the important thing is to not buy into walled gardens that have stores with complicated deployment setups in the first place?
You mean like having a standard cross-device open and uncontrolledly platform for running your application on any mobile device? Oh wait a second...
I’ve built multiple pwa’s for companies and organisations, mainly for internal tools. It worked very well and we were happy we didn’t have to deploy to different app stores, while still being able to leverage the device’s api.
Can you explain why having more options to offer apps to users is a bad thing?
go and see how chrome does it. its on by default and imo people are tricked into accepting those willy nilly. the result? i know people whose right side is littered with "offers" and "breaking news" and "see your horoscope". the worst part, i have had the time to help them get this shit off their computers and it is tiring. you have to disable each and every website one by one in the notifications, its like they don't want you to try. sure there is a general disable button but what if you want to disable all but one? have chromium developers heard about "checkbox and bulk actions"? https://www.howtogeek.com/725208/how-to-turn-off-pop-up-noti...
Luckily, all the fancy web devs use iPhones so they probably don't even know about features like these, which helps in them not getting abused to hell.
I've seen it used twice, once for physical feedback when using hassio (really nice) and once with one of those shitty scam ads (really awful). I was surprised that there wasn't a permission prompt for this API.
Turned out, the game controller APIs doesn't support controller vibrations.
Because if it isn't, any piece of adware code that loads onto the phone, would be able to run the tiny rotational-unbalance based mechanism within the phone for however long and in whatever fashion it sees fit.
As if phone batteries didn't run down fast enough already...
Looks like the vibration on phones only has a single strength setting, unlike those in gamepads.
Except that there's no support for the vibration API on Firefox for Android.