mcc on Nostr: if i make a javascript: url, and i type it into the url bar, i find in chrome the url ...
if i make a javascript: url, and i type it into the url bar, i find in chrome the url *cannot* be urlencoded. a javascript: url containing %20 symbols somehow turns into a google search for the javascript code.
why?
is there a way to put spaces in a javascript: url without having to include spaces? i want to give someone something to copy and paste but spaces in the copypaste could confuse them
Published at
2024-09-28 17:49:46Event JSON
{
"id": "735829b0a2650b4966388cb65204d5f9c91472c71da350a1d35f08d31ac98d2b",
"pubkey": "a3162b9720f6b515ac4bd22d5ea4abf0f85f5685130dca40f46fe684fe85b255",
"created_at": 1727545786,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/mcc/statuses/113216440664867147",
"activitypub"
]
],
"content": "if i make a javascript: url, and i type it into the url bar, i find in chrome the url *cannot* be urlencoded. a javascript: url containing %20 symbols somehow turns into a google search for the javascript code.\n\nwhy?\n\nis there a way to put spaces in a javascript: url without having to include spaces? i want to give someone something to copy and paste but spaces in the copypaste could confuse them",
"sig": "bcfd20d4f670a9e983fbbc0f081f30e8ec263fa993f1edc6edb26d9ee11c1c15e2756f6b2eec37338bc07451afa873601b6f6cbb8fd6d4039b7d3616a8bcaab9"
}