Replying to Avatar Egge

nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft what is the best practice for parsing NIP-46 bunker strings on the web? I just noticed that JavaScript's URL API is not usable, as Safari and Chrome will create wildly different results.

I use pubkey=url.hostname || url.pathname.split('//')[1] or some such to make it cross-browser.

Reply to this note

Please Login to reply.

Discussion

No replies yet.