diff options
| author | Kieran <kieran@harkin.me> | 2024-10-15 11:15:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-15 11:15:54 +0100 |
| commit | 1e2f19863ca56754daa2466881eb22087a71b17d (patch) | |
| tree | 4f7be759dce290fea1d3ae10c403260b466ee16c /07.md | |
| parent | 53afaaece61f02e92b5ef9c3e9c32945c7ebf522 (diff) | |
| parent | e381b577c997b849fa544eea7dc9f08b360b4a33 (diff) | |
Merge branch 'master' into nip71-imeta
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. |