From 6ec5d8cf5815e4f9bdc4f16e3f82635f2446067e Mon Sep 17 00:00:00 2001 From: TheSaltyKorean <19557417+TheSaltyKorean@users.noreply.github.com> Date: Wed, 26 Aug 2026 03:28:49 -0500 Subject: [PATCH] site: add the Google Preferred Sources button Two-line embed per Google's docs: the publisher.js loader in
plus a [google-add-preferred-source-btn] element in the footer. Ships both theme variants behind a prefers-color-scheme query, since the button's theme is a static attribute and the site has no JS theme toggle. PRIVACY.md documents the new Google-hosted widget. --- PRIVACY.md | 7 +++++++ docs/index.html | 21 +++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/PRIVACY.md b/PRIVACY.md index 5f3c2ea..274da02 100644 --- a/PRIVACY.md +++ b/PRIVACY.md @@ -61,6 +61,13 @@ as described above. - **Cloudflare Web Analytics / RUM** — cookieless page-performance measurement at the CDN edge. It stores no identifiers in your browser. +The site's footer also embeds Google's **Preferred Sources** button +(`news.google.com/swg/js/v1/publisher.js`), which lets a signed-in reader mark +markdownstudio.dev as a preferred source in their own Google Search settings. +It is a Google-hosted widget, so loading it tells Google the page was viewed, +and it is governed by [Google's privacy policy](https://policies.google.com/privacy). +It sets nothing itself unless you click it, and it is not used for measurement. + Nothing here is used for advertising, and no audiences or profiles are built. Questions: open an issue at diff --git a/docs/index.html b/docs/index.html index 4372d20..ab417ea 100644 --- a/docs/index.html +++ b/docs/index.html @@ -66,6 +66,16 @@ y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); })(window, document, "clarity", "script", "y6hag03dir"); + + +