Cookies or use tls authentication.
> And how would we make offline webapps which don't store anything on servers?
Don't make webapps in the first place.
I may be in a minority but I still want to run on desktop linux with an ad blocker or vimium.
Webapps give me that. Native apps don’t.
You can't modify the webapp nor can you refuse to update it.
Even if it’s minimised you can still modify it.
Also, when pi-hole and mitmproxy are our only options to know what our device is doing and to block things we don't want, then we've lost. The web browser is basically the last bastion of control that we have with its devbar and networkbar and all. Blocking content/requests is something our devices should be able to do themselves.
It's a miracle of history that we have the browser, and it's hard to imagine us having it had it been invented today. We need to fight to keep it, not dismiss it with "ugh web tech amirite?" while we regress to native app black boxes as our only option.
They do not need to, and unlike "webapps" there isn't a remote server that can change the code that you are running at any moment.
And how would we make offline webapps which don't store anything on servers?