diff --git a/07.md b/07.md index 6c663224..9f836d87 100644 --- a/07.md +++ b/07.md @@ -24,6 +24,10 @@ async window.nostr.nip44.encrypt(pubkey, plaintext): string // returns ciphertex async window.nostr.nip44.decrypt(pubkey, ciphertext): string // takes ciphertext as specified in nip-44 ``` +### Recommendation to Extension Authors +To make sure that the `window.nostr` is available to nostr clients on page load, the authors who create Chromium and Firefox extensions should load their scripts by specifying `"run_at": "document_end"` in the extension's manifest. + + ### Implementation See https://github.com/aljazceru/awesome-nostr#nip-07-browser-extensions.