diff options
| author | Vitor Pamplona <vitor@vitorpamplona.com> | 2024-12-19 10:15:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-19 10:15:46 -0500 |
| commit | f7d97f3f40dc6677e6f996ffff431142ffe05810 (patch) | |
| tree | 2eaa8c8628cc9a4b05811ed3869e21221fd85307 /07.md | |
| parent | d5b77b6d7348061cd0f16adc35e4d02a3a0b7380 (diff) | |
| parent | 561059ff85c171b87a12b8381b724b4afc569a97 (diff) | |
Merge branch 'master' into draft-event
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. |