Engineering note

Why do item pages work without JavaScript?

Last reviewed

Ordinary HTML carries the item; an optional script adds the viewer and sharing controls.

What can a buyer do without JavaScript?

Read the description, view the photos and follow the seller’s contact or marketplace links. The server puts those details in the HTML. Each gallery photo links directly to its image, and thumbnails link to photo anchors.

There is no browser app to start before the item becomes readable, and a buyer needs no Keepmere account.

What does the optional script add?

Item pages load one same-origin file, /item.js. It adds the full-screen photo dialog, previous and next controls, the current-photo indicator and a Share button when the browser supports sharing or copying a link. Copying happens only after that button is pressed.

The item template and this script set no cookies and send no analytics events. They contain no tracking pixels or third-party script loaders. Following a seller’s external contact link opens that separate service.

Which content security policy applies?

Item pages use script-src 'self' so that their own enhancement can run. Ordinary item pages use connect-src 'none'; the script does not need background requests.

The static marketing site, including this note, uses script-src 'none'. Its JSON-LD blocks describe page content and are not executable scripts. That stricter script rule belongs to the marketing pages, not the item pages.

Report forms are a separate route and may enable Cloudflare Turnstile with permissions for its challenge service. That exception is not added to ordinary item pages.

Does that mean a visit leaves no connection details?

No. Loading a page and its images still makes requests to the hosting service, which processes connection details to deliver them and limit abuse. Keepmere adds no page-view analytics or advertising cookies.

Which implementation was checked?

  • server/src/pages.ts · itemPage
  • server/src/item-script.ts · itemScript
  • server/src/index.ts · secure
  • website/scripts/generate.mjs · document

Checked against the repository on . This describes the implementation; it is not a separate audit of a deployed service.