As a user, so many of these I wish did NOT exist. E.g: Push Notifications, Banners, Web Share, Contacts, Page Visibility, Badging. Uncertain about USB, Bluetooth, Locks, Keyboard Lock, and Native File System. I don't want my browser doing those things.
I like that push notifications on the browser exist (for e.g. Slack, WhatsApp), I just wish there were no popups for it--just an unintrusive button you could press to enable it.
Things you can do with a browser in 2020
231–240 of 387 posts
Re: Things you can do with a browser in 2020
#232Earlier quoted context omitted.
I think it depends a lot on age and level of eyesight. I've never once felt eye strain from looking at a dark theme, and if a room is even somewhat dark then a blindingly white screen gives me a headache. I can always fiddle with my brightness as needed for different situations, at least on my phone, but that's kind of a pain. On a desktop monitor it's usually a significantly bigger pain.
I've always heard that you should use an off-white or off-black, and that CSS like #000 or #FFF for backgrounds is a no-no.
Re: Things you can do with a browser in 2020
#233Who seriously thought the Battery Status API was a good idea? Someone thought this was useful enough to write a spec for it...
I suppose you're doing what might be a resource intensive task and want to be sure you don't kill the battery. Granted I get folks might feel a rando website that is resource intensive would be horrific, but maybe we're talking about some specific web app / use case.
Re: Things you can do with a browser in 2020
#234Earlier quoted context omitted.
That has its own set of challenges -- now you have to design your game so that the battery indicator doesn't cover up an important part of the game. Also, what if the OS allows it to be configurable location/size, etc.
> now you have to design your game so that the battery indicator doesn't cover up an important part of the game You should not be able to do that; It's a feature that you cannot do that.
Re: Things you can do with a browser in 2020
#235Worth noting is that "prefers-color-scheme" works in all major OSes at this point, mobile and desktop. If your site already has a dark theme, there is no reason at all not to be integrating it this way. Even if you don't have a dark theme already, it's a huge value-add..... (@dang?)
I'm sure someone will call me a slowpoke on this, but one really cool thing that I didn't know about until recently was that you can also use this in images with srcset's, to display a darker image. For example, if you want to put the "Made with Bulma"[0] tag on your website, they offer a light and dark version, which you could use like this: This will automatically replace with the image src when the srcset criteria…
Re: Things you can do with a browser in 2020
#236Looking at these, I feel that browsers do way too many things than they should.
Re: Things you can do with a browser in 2020
#237As a user, so many of these I wish did NOT exist. E.g: Push Notifications, Banners, Web Share, Contacts, Page Visibility, Badging. Uncertain about USB, Bluetooth, Locks, Keyboard Lock, and Native File System. I don't want my browser doing those things.
Browsers need better and more usable permissions (and less leakage). Every API that's added is another attack vector.
Re: Things you can do with a browser in 2020
#238As a user, so many of these I wish did NOT exist. E.g: Push Notifications, Banners, Web Share, Contacts, Page Visibility, Badging. Uncertain about USB, Bluetooth, Locks, Keyboard Lock, and Native File System. I don't want my browser doing those things.
Notifications? I need those from my calendar app and chat app.
Badges? Messaging systems I use rarely but which are important.
Visibility? I want resource intensive apps to "sleep" when not in use.
USB? I want an Arduino web ide to be able to communicate with hardware.
Screen lock? I don't want the machine to go into sleep mode when I'm presenting a slide deck.
Key lock? I don't want the browser intercepting keystrokes in my word processor or SSH session.
Re: Things you can do with a browser in 2020
#239Earlier quoted context omitted.
> the browser is the main attack vector on mobile Citation needed. Browser-based attacks are difficult to come by, because it's just easier to attack an application instead.
>Citation needed. Browser-based attacks are difficult to come by, because it's just easier to attack an application instead. You require a citation then make an assertion with with no supporting source.
Re: Things you can do with a browser in 2020
#240Earlier quoted context omitted.
No need for ublock, the dev console is called your memory, your network tab is now something the entire os can understand, and you can even opportunistically block specific network calls. Obfuscated javascript running in the console is no better than random apps, and webasm is going to make that even more opaque. You are talking about features that are only needed for websites and why an app doesnt have those feature…
I think the point is that these features are masked from the user (especially on mobile) when performed in a native app vs a website.