Sharing works on sites whose host adds its own scripts

13 November 2026

When several machines share to one site, Obeya first downloads the pages the site has in a newer version and checks each file against the site's manifest. With Cloudflare Web Analytics on, Cloudflare adds this to every HTML page it serves, right before </body>:

<!-- Cloudflare Pages Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "…"}'></script><!-- Cloudflare Pages Analytics -->

Same situation, before and after

A test site adds such a script to every HTML file. Machine B shares a page while machine A has a newer page on the site.

Before

The share is refused, and so is every later share on that site:

a-111111/index.html from the site does not match its manifest.

On 12 November this blocked every share on demos.obeya.si for five hours.

After

Obeya cuts out the one block of markup the host inserted, so the page matches the manifest's hash again. B takes A's newer page as A wrote it, byte for byte, and the deploy goes through.

Rules specific to Cloudflare aren't needed: whatever a host adds, as long as it's one block of markup, the manifest's hash proves the rest is the page as written.

A page that still doesn't match blocks only itself

If a host changes a page in some other way, Obeya leaves that page as this machine has it (an older version, or none) and notes it in the card's log. The share and the other pages go out. The machine that shared the page notices at its next check that the site doesn't have its version, and deploys it again.

Checked against the live demos.obeya.si

Each HTML file on the live site downloaded today and checked against the site's manifest (read-only).

HTML files on 453 pages570
Served with Cloudflare's script, matched by the old check0 of 546
Served with Cloudflare's script, matched by the new check546 of 546
Served unchanged (artifacts without </body>)24
Longest check (a 12.8 MiB artifact)40 ms