upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/07.md
diff options
context:
space:
mode:
authorhodlbod <jstaab@protonmail.com>2024-07-15 09:50:25 -0700
committerGitHub <noreply@github.com>2024-07-15 09:50:25 -0700
commit8b75d7be7c45f5867ea6541095f7322fe7d77a26 (patch)
treea4a7bbf7086592b94402e2aad2bfe00a422f0c5f /07.md
parent3061855aa2180f459e0753c77a7bb55ed3c0b5f7 (diff)
parent68c9e484ea1fdfa48e7a62da4a1e0b1e4a29a937 (diff)
Merge pull request #518 from vivganes/patch-2
Add user experience recommendation about NIP-07
Diffstat (limited to '07.md')
-rw-r--r--07.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/07.md b/07.md
index 6c66322..9f836d8 100644
--- a/07.md
+++ b/07.md
@@ -24,6 +24,10 @@ async window.nostr.nip44.encrypt(pubkey, plaintext): string // returns ciphertex
24async window.nostr.nip44.decrypt(pubkey, ciphertext): string // takes ciphertext as specified in nip-44 24async window.nostr.nip44.decrypt(pubkey, ciphertext): string // takes ciphertext as specified in nip-44
25``` 25```
26 26
27### Recommendation to Extension Authors
28To 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
29See https://github.com/aljazceru/awesome-nostr#nip-07-browser-extensions. 33See https://github.com/aljazceru/awesome-nostr#nip-07-browser-extensions.