You can also addon the built-in nostr specific customazations on my browser having the built-in key management.
Most of CORS issues would be mitigated if your features worked in the background of web extensions.
I don't have much time to develop anything beyond the key management, but I'm open to someone else developing the built-in add-on!
Note that it's firefox only, though.
Introduction - Documentation