Live data from Hacker News

Things you can do with a browser in 2020

github.com

141–150 of 387 posts

Re: Things you can do with a browser in 2020

#141

I am concerned that the "dark mode" and "reduce motion" detection features can be used for browser & OS fingerprinting. Does anyone know if any countermeasures are in place against that?

I think prefers-color-scheme was actually held up for a while due to fingerprinting concerns.

Re: Things you can do with a browser in 2020

#142
post #110
post #79

Earlier quoted context omitted.

Then you're out of step with what users want these days. Nothing wrong with that! But to take an example, when I hit a share button on a page I want to see the native share box, not some hideous iframed monstrosity that only works with Facebook. So I want Web Share. And I don't want to download an entire native app just so that I can receive a push alert when my food order is on the way, a web site works much better…

If they were OSes they would have a kernel and user land You would have ring0 and ring3 You could decide what to install or what remove In the browser everything is exposed to everyone by default More than an OS is a disaster waiting to happen

Despite the idiotic downvotes, you are absolutely right.

Browsers are terrible. No other applications or OS components are so monolithic expose the same attack surface.

Re: Things you can do with a browser in 2020

#143
post #86

A few things that aren't mentioned: - Web MIDI - access digital keyboards/synthesizers. I believe in some browsers there's no prompt, unlike Web USB. - Screen sharing via getDisplayMedia, analogous to getUserMedia for cameras. - WebRTC, peer-to-peer connections. - Security keys (WebAuthn), specific support for cheap ($10-$50 depending on features) devices that do second-factor login to websites. Importantly, these de…

> A few things that aren't mentioned:

Those and all other things listed on linked article are JavaScript-lang/engine things NOT related to browser itself. You could use such using Electron, literally "outside of browser"

Try disable JS in your browser OR try to use Links[0] browser ­— and lets see what you can do with a browser in 2020.

[0] https://en.wikipedia.org/wiki/Links_(web_browser)

Re: Things you can do with a browser in 2020

#144
post #45

I'm rather sad that for example Battery API is deprecated... possibly might need a browser-wide toggle, but still... It can both be cool, and useful....mostly cool, though... you could have a complete web desktop (there several web desktops, and even more "fake" ones, like windows93) that shows the status, or a webpage that switches to dark mode with minimal javascript and theming, when battery is low, or a low distr…

> a webpage that switches to dark mode with minimal javascript and theming, when battery is low

Please don't arbitrarily change the theme of the website I'm using based on my battery level.

> a low distraction writing environment for example, that still notifies you of low battery

My system does this.

Re: Things you can do with a browser in 2020

#145
post #46

Earlier quoted context omitted.

It's almost like we shouldn't have tortured a document transfer system until it was able to run full-on applications.

If operating systems had ever provided security strong enough to run untrusted code, we wouldn't have needed to. It's really a failing of operating system security. Even today no operating system provides an application sandbox as strong and versatile as the browser. Platforms have fallen back on walled gardens (app stores) with centralized control of all code execution to compensate for the deficiencies of their sec…

> It's really a failing of operating system security

Please stop the gaslighting. Virtual machines and sandboxes existed decades before browsers.

Re: Things you can do with a browser in 2020

#146
post #79

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.

Then you're out of step with what users want these days. Nothing wrong with that! But to take an example, when I hit a share button on a page I want to see the native share box, not some hideous iframed monstrosity that only works with Facebook. So I want Web Share. And I don't want to download an entire native app just so that I can receive a push alert when my food order is on the way, a web site works much better…

So that's one good use case for Push Notifications. It would take about 10 minutes of browsing to find 10 bad ones.

Re: Things you can do with a browser in 2020

#147
post #110
post #79

Earlier quoted context omitted.

Then you're out of step with what users want these days. Nothing wrong with that! But to take an example, when I hit a share button on a page I want to see the native share box, not some hideous iframed monstrosity that only works with Facebook. So I want Web Share. And I don't want to download an entire native app just so that I can receive a push alert when my food order is on the way, a web site works much better…

If they were OSes they would have a kernel and user land You would have ring0 and ring3 You could decide what to install or what remove In the browser everything is exposed to everyone by default More than an OS is a disaster waiting to happen

kernel = browser, user land = web apps

I don't understand what you mean by "In the browser everything is exposed to everyone by default". Browsers have a much more robust security and privacy model than normal OSes.

Re: Things you can do with a browser in 2020

#148

Earlier quoted context omitted.

Seems legit, although that should probably be the OSes job to overlay that

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.

Sounds like a job for safe area insets.

Re: Things you can do with a browser in 2020

#149
post #56
post #46

Earlier quoted context omitted.

It's almost like we shouldn't have tortured a document transfer system until it was able to run full-on applications.

Would it really be better if we didn't evolve the web, and we had more OS-specific unsandboxed applications and greater fragmentation between OSes (and a stronger incentive for everyone to stick to one OS, like Windows) instead?

That's a huge false dichotomy.
Post reply on HN