brugeman on Nostr: Great work! You should be able to inject css by placing it in <style></style> tags, ...
Great work! You should be able to inject css by placing it in <style></style> tags, same with scripts - <script></script>. Those code injections are just placed into the final html of the page, not wrapped or transformed in any way.
Published at
2024-07-26 07:42:50Event JSON
{
"id": "7ca3c91a95dffd24fb5038b48f3927abbec0599f1193bb9d1ea98a5fca2b2ac6",
"pubkey": "3356de61b39647931ce8b2140b2bab837e0810c0ef515bbe92de0248040b8bdd",
"created_at": 1721979770,
"kind": 1,
"tags": [
[
"e",
"611a8edea84e4b9f794f0ebb12d05f779aa7d712fbb73a443d6567b884aeb257",
"wss://nos.lol/",
"root"
],
[
"e",
"611a8edea84e4b9f794f0ebb12d05f779aa7d712fbb73a443d6567b884aeb257",
"wss://nos.lol/",
"reply"
],
[
"p",
"66df60562d939ada8612436489945a4ecf1d62346b3d9478dea8a338f3203c64",
"",
"mention"
]
],
"content": "Great work! You should be able to inject css by placing it in \u003cstyle\u003e\u003c/style\u003e tags, same with scripts - \u003cscript\u003e\u003c/script\u003e. Those code injections are just placed into the final html of the page, not wrapped or transformed in any way.",
"sig": "94eed7d12e36d212c02372d7add99a03d2a4d8be47d7c53b67045c8cf18b90d93b1b6a9e56832f49ec976c5386e349048a584054e72477afa2d2bab41fbaf1de"
}