Lea Rosema on Nostr: Preprocess JavaScript with regex? Why not? Maybe start with harmful APIs that track ...
Preprocess JavaScript with regex? Why not? Maybe start with harmful APIs that track you. Such as:
javascript.replace(/document.browsingTopics()/g, 'Promise.resolve([]));
Published at
2024-09-16 08:43:02Event JSON
{
"id": "43387f50ca120fcafcb10128606f09bd736de134eab61087672fde5ffc0e98aa",
"pubkey": "f08a637f70295418bc754097b336bb0f1c8ff89d6e2d4ad40fcd258b33000e05",
"created_at": 1726476182,
"kind": 1,
"tags": [
[
"proxy",
"https://lea.lgbt/users/lea/statuses/113146343084337301",
"activitypub"
]
],
"content": "Preprocess JavaScript with regex? Why not? Maybe start with harmful APIs that track you. Such as:\n\njavascript.replace(/document.browsingTopics()/g, 'Promise.resolve([]));",
"sig": "6b301a66d28b67d0ef4d908477d3e5dea7c4c49e8c32af1bb154d7af62f87881d0cfb404500982b32bdb35f3cc3403affef7ccb6d1bd66ade46702e6d3b089e2"
}