jaseg on Nostr: Since it seems #Google has decided to uni-laterally force through their new ...
Since it seems #Google has decided to uni-laterally force through their new anti-#adblock #DRM euphemistically named "Web environment integrity", I decided to add a little bit of code to my website that blanks out the page and displays a protest message with a link to the firefox download page when you visit it from a browser with this DRM feature. Here's the source inside one toot, feel free to copy and put it at the end of your website's <body> before the closing tag:
Published at
2023-07-26 18:23:12Event JSON
{
"id": "3570d0764012d5c0d2d3807d1aa5b7a2c2c80ac438aeac36dd51f92a7a30e009",
"pubkey": "c2756be6b1216a7f8d6d0f9d48359f79d60ff5eaf7d20e67e45ec8cd6b11abb4",
"created_at": 1690388592,
"kind": 1,
"tags": [
[
"t",
"google"
],
[
"t",
"adblock"
],
[
"t",
"drm"
],
[
"mostr",
"https://chaos.social/users/jaseg/statuses/110781306795960114"
]
],
"content": "Since it seems #Google has decided to uni-laterally force through their new anti-#adblock #DRM euphemistically named \"Web environment integrity\", I decided to add a little bit of code to my website that blanks out the page and displays a protest message with a link to the firefox download page when you visit it from a browser with this DRM feature. Here's the source inside one toot, feel free to copy and put it at the end of your website's \u003cbody\u003e before the closing tag:",
"sig": "bb84188e5c70724026f89da3e9dcdca24d9d1df46c5524b27885fc5c2544d51f09858f282dc1aeee3db46576b2df9e5803a0f26660322ff59fbdc9b4fa19f790"
}