hzrd149 on Nostr: Unfortunately there is no other way for PWA web apps to receive data back from Amber ...
Unfortunately there is no other way for PWA web apps to receive data back from Amber without reading the clipboard.
Once you grant noStrudel permission to read the clipboard I believe it has to be initiated by a user action (ie. click or type) more info here
https://developer.mozilla.org/en-US/docs/Web/Security/User_activationBut it could effectively read the clipboard whenever it wanted
Published at
2023-12-08 20:13:47Event JSON
{
"id": "d4d021815de90eae7ccca2cc15d717819ef9a1d40c106695e81a128d66ca9310",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1702066427,
"kind": 1,
"tags": [
[
"e",
"0259b1d5f726482a851cda32782eefc2192f3c34608ea9e3ec899d6fd4825f4a",
"wss://nostrue.com",
"root"
],
[
"e",
"7c17241e0fd7a6a1eb81357b4b14381e05efb7279ef5513650c10696d905fc96",
"wss://nos.lol",
"reply"
],
[
"p",
"183ee23130bda4af78f8c3fecae9190853741b1e8f009c61e208a28251aff73b"
]
],
"content": "Unfortunately there is no other way for PWA web apps to receive data back from Amber without reading the clipboard.\n\nOnce you grant noStrudel permission to read the clipboard I believe it has to be initiated by a user action (ie. click or type) more info here https://developer.mozilla.org/en-US/docs/Web/Security/User_activation\nBut it could effectively read the clipboard whenever it wanted",
"sig": "2ca359b19bceb090d5130f043da8228858d1a40ae8d670acc78d3949a5192f71298fdddb6d19ce1eece77fcd5ccd2216c242d9bcd1fc3865eece64ffbea8434f"
}