logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 08c2f657a11fedc1e048169832da1661d173fee1
parent f6ee262bd7f0d0cc46fbcd5061248840bef5f3ba
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 14 Apr 2021 02:13:36 +0200

javascript/anti-cohort.js: New

Diffstat:

Ajavascript/anti-cohort.js7+++++++
Mtemplates/head.shtml1+
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/javascript/anti-cohort.js b/javascript/anti-cohort.js @@ -0,0 +1,7 @@ +// Copyright 2021 Haelwenn (lanodan) Monnier <contact+anti-cohort@hacktivis.me> +// Distributed under CC0 +// Spreading is highly-encouraged + +if(!(document.interestCohort === undefined)) { + alert("Support of Google Learning of Cohorts(FLoC) detected, consider changing of browser."); +} diff --git a/templates/head.shtml b/templates/head.shtml @@ -4,3 +4,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="https://hacktivis.me/images/avatar.png?serial=2020111201"/> + <script src="/javascript/anti-cohort.js"></script>