diff options
| author | Oscar Merry <MerryOscar@users.noreply.github.com> | 2024-08-05 23:08:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 23:08:41 +0100 |
| commit | 29eec055c2ccf115dae3e8560506b480f1a6de05 (patch) | |
| tree | 634fa65565d0bf40eca479de9851c0c95058af72 /07.md | |
| parent | 13b830d228b122b29f9d96a3bf10601406ddd646 (diff) | |
| parent | 428a4779d7c4f4c2ff53815e8958e7cf99d69d26 (diff) | |
Merge branch 'nostr-protocol:master' into external-content-ids
Diffstat (limited to '07.md')
| -rw-r--r-- | 07.md | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -24,6 +24,10 @@ async window.nostr.nip44.encrypt(pubkey, plaintext): string // returns ciphertex | |||
| 24 | async window.nostr.nip44.decrypt(pubkey, ciphertext): string // takes ciphertext as specified in nip-44 | 24 | async window.nostr.nip44.decrypt(pubkey, ciphertext): string // takes ciphertext as specified in nip-44 |
| 25 | ``` | 25 | ``` |
| 26 | 26 | ||
| 27 | ### Recommendation to Extension Authors | ||
| 28 | 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. | ||
| 29 | |||
| 30 | |||
| 27 | ### Implementation | 31 | ### Implementation |
| 28 | 32 | ||
| 29 | See https://github.com/aljazceru/awesome-nostr#nip-07-browser-extensions. | 33 | See https://github.com/aljazceru/awesome-nostr#nip-07-browser-extensions. |