What is Nostr?
greenart7c3
npub1w4u…0jr5
2025-02-22 10:19:59
in reply to nevent1q…4esy

greenart7c3 on Nostr: This is something that happens in all browsers and all operating systems. When the ...

This is something that happens in all browsers and all operating systems. When the device is low on memory and you leave the web page it disconnects from the relays and when the user opens the page again it connects to it again.
I don't know if there's some event listener for checking of the user is back on the web page again.
I had some success in simulating this using a 8gb Mac. using a private window you send the connect event, minimize the web page and accept the event in the signer, after that you open the page again and the login didn't happen.
You may need something to use a lot of memory and/or CPU like building a rust project or building amethyst

From what I remember brugeman (nprofile…wthp) worked on those diconnections in the nostr-login widget, Maybe he know better why browsers have this problem
Author Public Key
npub1w4uswmv6lu9yel005l3qgheysmr7tk9uvwluddznju3nuxalevvs2d0jr5