Stuart Bowman on Nostr: So a few months ago I looked into doing this — the problem is that Chrome's ...
So a few months ago I looked into doing this — the problem is that Chrome's manifest version 3 makes it difficult. Previously, in manifest version 2, extensions had essentially a hidden tab that could be used to run stuff until the user closed the browser. But with the V3 changes, Chrome seems to want to force everyone to use web workers that spawn and shut down on-demand, and this makes it hard to write a nostr client inside an extension because the client should ideally maintain persistent connections to relays. If you look in the google groups about this there are a lot of people complaining that the V3 changes are breaking their websocket implementations. Something to consider. Not saying it's hopeless.
Published at
2023-05-26 23:53:09Event JSON
{
"id": "20f718f4e62cba6d7079ac28cdc0e4ca80cf23db0049cf8be091b100bbf8ccb5",
"pubkey": "ff27d01cb1e56fb58580306c7ba76bb037bf211c5b573c56e4e70ca858755af0",
"created_at": 1685145189,
"kind": 1,
"tags": [
[
"e",
"fb3037b337e8cc82be0efd2d6162cccf9ea251a14bbceedb0f516094ff12854c",
"",
"reply"
],
[
"p",
"c3688849f3b6e4cc53a433c213d9bf0671f98a3c52d479c7021e3726bf1a35be"
]
],
"content": "So a few months ago I looked into doing this — the problem is that Chrome's manifest version 3 makes it difficult. Previously, in manifest version 2, extensions had essentially a hidden tab that could be used to run stuff until the user closed the browser. But with the V3 changes, Chrome seems to want to force everyone to use web workers that spawn and shut down on-demand, and this makes it hard to write a nostr client inside an extension because the client should ideally maintain persistent connections to relays. If you look in the google groups about this there are a lot of people complaining that the V3 changes are breaking their websocket implementations. Something to consider. Not saying it's hopeless.",
"sig": "55811bc1c39e1ea916e5f6ebd19e1e977e01e12a452644996045a1cb9becb4a68ee56c53ac4343f175b05fe3ad87c105af88a67af33b5844c56a4656e5e7eb50"
}