logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 69694ea6d1c8d4b4e7d766460c531134e84ab8a3
parent b11b1cabc425ade2480ac99e52aa298ad273086c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 10 Mar 2023 03:39:18 +0100

javascript/anti-cohort.js: Remove, officially stopped in Jan 2022

This way most pages can go back to absolutely zero JavaScript.

Diffstat:

Marticles/2022 Summary.html2+-
Mbookmarks.html2+-
Djavascript/anti-cohort.js11-----------
Mtemplates/head.shtml1-
Mtemplates/head.xml1-
5 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/articles/2022 Summary.html b/articles/2022 Summary.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en"> <head> - <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2022122601"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/><script src="/javascript/anti-cohort.js?serial=2021042101">/**/</script> + <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> <title>2022 Summary - lanodan's cyber-home</title> </head> <body> diff --git a/bookmarks.html b/bookmarks.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en"> <head> - <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2022122601"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/><script src="/javascript/anti-cohort.js?serial=2021042101">/**/</script> + <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2023020902"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/> <title>Bookmarks - lanodan's cyber-home</title> </head> <body> diff --git a/javascript/anti-cohort.js b/javascript/anti-cohort.js @@ -1,11 +0,0 @@ -// Copyright 2021 Haelwenn (lanodan) Monnier <contact+anti-cohort@hacktivis.me> -// Distributed under CC0 -// Spreading is highly-encouraged - -// detection grabbed from https://amifloced.org/ -// To test it run google-chrome with the following options: --enable-blink-features=InterestCohortAPI --enable-features="FederatedLearningOfCohorts:update_interval/10s/minimum_history_domain_size_required/1,FlocIdSortingLshBasedComputation,InterestCohortFeaturePolicy" -if('interestCohort' in document) { - alert("Your browser seems to support ‘Federated’ Learning of Cohorts, which means it assigns you to a herd by tracking your browsing habits. Check https://AmIFLoCed.org/ for more information."); -} -// https://github.com/WICG/floc -// Yes the Web platform Incubator Community Group is full of shit like this diff --git a/templates/head.shtml b/templates/head.shtml @@ -4,4 +4,3 @@ <link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/> <link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/> <meta property="og:image" content="/images/avatar.png?serial=2020111201"/> - <script src="/javascript/anti-cohort.js?serial=2021042101"></script> diff --git a/templates/head.xml b/templates/head.xml @@ -5,5 +5,4 @@ <link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/> <link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/> <meta property="og:image" content="/images/avatar.png?serial=2020111201"/> - <script src="/javascript/anti-cohort.js?serial=2021042101">/**/</script> </xml>