diff --git a/extension/options.jsx b/extension/options.jsx index c7cfb68..690d8d8 100644 --- a/extension/options.jsx +++ b/extension/options.jsx @@ -11,7 +11,7 @@ function Options() { let [relays, setRelays] = useState([]) let [newRelayURL, setNewRelayURL] = useState('') let [policies, setPermissions] = useState([]) - let [protocolHandler, setProtocolHandler] = useState('') + let [protocolHandler, setProtocolHandler] = useState('https://njump.me/{raw}') let [hidingPrivateKey, hidePrivateKey] = useState(true) let [showNotifications, setNotifications] = useState(false) let [messages, setMessages] = useState([]) @@ -83,10 +83,25 @@ function Options() {
nostr signer extension
{`
+ {showProtocolHandlerHelp && (
+ {`
+ {raw} = anything after the colon, i.e. the full nip19 bech32 string
{hex} = hex pubkey for npub or nprofile, hex event id for note or nevent
{p_or_e} = "p" for npub or nprofile, "e" for note or nevent
{u_or_n} = "u" for npub or nprofile, "n" for note or nevent
{relay0} = first relay in a nprofile or nevent
{relay1} = second relay in a nprofile or nevent
{relay2} = third relay in a nprofile or nevent
- {raw} = anything after the colon, i.e. the full nip19 bech32 string
{hrp} = human-readable prefix of the nip19 string
examples:
- - https://nostr.guru/{p_or_e}/{hex}
- - https://brb.io/{u_or_n}/{hex}
- - https://notes.blockcore.net/{p_or_e}/{hex}
- `})}
+ - https://njump.me/{raw}
+ - https://snort.social/{raw}
+ - https://nostr.band/{raw}
+ `}
+ )}