Czino // 👫🌱🏡🐈🐈⬛ on Nostr: After many hurdles overcome, I finally sent off my nostr powered chrome extension for ...
After many hurdles overcome, I finally sent off my nostr powered chrome extension for review to the Google overlords.
If you want you can already check out the code yourself if you know what you are doing:
https://github.com/Czino/site-chattrQuestion to nostr extension devs. I tried hard to access window.nostr from my extension but all my attempts failed. So for now Login by Extension via NIP-07 is not given. Can somebody help?
> Working on a chrome extension for a nostr based project
> Locally works all good
> Package it into a Chrome extension
> Hitting errors “unsafe-eval" due to CSP
> Getting to the bottom of it
> Find a sub dependency used by @nostr-dev-kit called “tseep”
> It is running eval() functions in it
> Checking out the README of tseep
"lol"
Published at
2024-09-17 16:56:00Event JSON
{
"id": "00000000d630d8a170d64ce6e5a64260e3a79bf58a93ec6d2e0bd27079fb6b0d",
"pubkey": "55c0752df40e6705d8006c338830ffeab0a9ee8b37528494e86aece378d56386",
"created_at": 1726592160,
"kind": 1,
"tags": [
[
"q",
"0000006b076d1598628c5cb4245aab3bb2812d625d30e1c6289623c12968eb4a",
"wss://nostr-pub.wellorder.net/"
],
[
"nonce",
"4611686018428019909",
"25"
]
],
"content": "After many hurdles overcome, I finally sent off my nostr powered chrome extension for review to the Google overlords.\n\nIf you want you can already check out the code yourself if you know what you are doing: https://github.com/Czino/site-chattr\n\nQuestion to nostr extension devs. I tried hard to access window.nostr from my extension but all my attempts failed. So for now Login by Extension via NIP-07 is not given. Can somebody help?\n\n\nnostr:nevent1qqsqqqqqdvrk69vcv2x9edpyt24nhv5p94396v8pcc5fvg7p995wkjspremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59uq36amnwvaz7tmwdaehgu3wvf5hgcm0d9hx2u3wwdhkx6tpdshsz9thwden5te0wfjkccte9ejxzmt4wvhxjme0pzlfhm",
"sig": "fc6b248aebbb2400195ba5b6c221db549405233f66fd7b567ed81310227bdace05d08ab04fe75ccc71638beaf6ae67a63a71df651f4e5a9204191cbdd92926ad"
}