PetterOfCats on Nostr: onClickEvent with event.preventDefault and event.stopPropagation. I'd then have a ...
onClickEvent with event.preventDefault and event.stopPropagation. I'd then have a script that handles the logic you are requesting and resolve normal functions that you wanted the button to do.
{
"id":"0e22f79904214015b1617988bb23fbeb7b303ad95e8e3157ac4932f6aab0f796",
"pubkey":"f83782f75bebc2df1eb352a0383852072f96b552560f23395911d78338698111",
"created_at":1745930395,
"kind":1,
"tags": [
[
"p",
"a106afdff3d504fd634fef8812fb0faa14fac4fa95a624d969f40b2ca6a0d209"
],
[
"e",
"620fc29a46bd506364b10c5cef4f01a6b925e28aa46533c5bd3ba853ed6f7284",
"",
"root",
"a106afdff3d504fd634fef8812fb0faa14fac4fa95a624d969f40b2ca6a0d209"
],
[
"proxy",
"https://mastodon.world/@PetterOfCats/114421294428148588",
"web"
],
[
"proxy",
"https://mastodon.world/users/PetterOfCats/statuses/114421294428148588",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.world/users/PetterOfCats/statuses/114421294428148588",
"pink.momostr"
],
[
"-"
]
],
"content":"onClickEvent with event.preventDefault and event.stopPropagation. I'd then have a script that handles the logic you are requesting and resolve normal functions that you wanted the button to do.\n\nonly thing I can think of.",
"sig":"c0070324641d846df37f2365eb1df738cc99dfb1deff71f4222eed313646d68891788e8254412f4cc080fdb84dbf2c09499bbc0419650c101a37f74dfb35386d"
}