Remix.run Logo
nozzlegear 2 days ago

> This might be a classic Hacker News sentiment that's not shared by normal users.

My wife just didn't know what a web view was (she still doesn't), but she prefers using the browser after I showed her how to "escape" Facebook's web view and open pages in Safari where the content blocker and ad blocker extensions could do their work. You probably have a point about preloading pages, but until content and ad blockers start working in all web views, then I agree with the person you're replying to: nobody wants a damn web view.

danudey 2 days ago | parent [-]

FWIW apps can use a SafariWebView IIRC to basically pass off a link to a separate Safari instance that can use autofill, content blockers, Javascript JIT, etc. but which the app doesn't have access to.

Meanwhile a WebView will show whatever HTML you throw at it, but it won't do any of that other fun stuff because the app that created it can access and manipulate the content (e.g. stealing your passwords) and the OS doesn't know if content filtering is relevant in that webview (since it's just the "show some HTML in a browser-type view" control and maybe it's important to see everything as-is). Being able to access the WebView also means the app can watch where you browse, what URLs, etc. so it can see what you're looking at even once you leave the page it opened to.

So yeah, apps can have a user-friendly experience; Telegram for the longest time used a SafariWebView so that everything was nice and neat. Then they decided to change their UI to a regular WebView and suddenly everything was full of trash again and I had to set it to "open in Safari" instead.