4 ms·
Agreed apart from: > One advantage of a mobile app over a mobile web site is that you can use the accelerometer Accelerometer API access has been available on
by cuttysnark 3y ago
Agreed apart from:
> One advantage of a mobile app over a mobile web site is that you can use the accelerometer
Accelerometer API access has been available on mobile web for ~ a decade. I think it'd actually be more trouble than it's worth to listen for a "tilt" to shift the view and misdirect the user's tap. Most UI's just put the ad dangerously close to an element that's also interactive, or style the ad to look nearly identical to the other content in the feed, like reddit. It's to make you encounter ads and maybe tap on them purposefully or accidentally. They will happily take either.
- moritzwarhier 3y agoIn a mobile browser, this would also be not as easy as in an app because the permission would have to be requested on-demand (or on page load), if I am not mistaken. E.g. this demo triggers a permission prompt: https://sensor-js.xyz/demo.html https://sensor-js.xyz/demo.html I also agree with your other points though.
- Atotalnoob 3y agoIt didn't trigger one on my phone...
- mgcross 3y agoMe neither, it just worked in chrome on my pixel 6. And in Brave it doesn't work and does not ask for permission. Both still ask for permission for using geolocation API.
- moritzwarhier 3y agoI was wondering about Android browsers, only quickly tested this on iOS
- sentientslug 3y agoFor me on latest iOS it does prompt the first time then it works every subsequent time without asking again
- flangola7 3y agoThank the fishes for GrapheneOS, for its sensor permission.