Publish: Ask-MSOS pill yields to cookie/language banners (in-app browser fix) #28

Merged
popovskik merged 2 commits from popovskik/publish-instagram-overlay-fix AGit into master 2026-08-27 16:25:14 +00:00
Collaborator

Fixes overlapping bottom overlays in in-app browsers: the floating Ask-MSOS pill now hides while the cookie-consent or language banner is up, so their buttons are tappable. Also reverts the language banner to the bottom edge. Deploys to msosorg.com on merge.

Fixes overlapping bottom overlays in in-app browsers: the floating Ask-MSOS pill now hides while the cookie-consent or language banner is up, so their buttons are tappable. Also reverts the language banner to the bottom edge. Deploys to msosorg.com on merge.
popovskik added 1 commit 2026-08-27 16:04:03 +00:00
fix(mobile): Ask-MSOS pill yields to cookie/language banners
Deploy to Production on Develop Push / deploy (push) Successful in 19s
7c2110d8a5
In in-app browsers (Instagram/Facebook) the floating pill (z-index 9999, same
as the cookie banner) sat on top of the cookie Accept button and the language
banner, so consent could not be tapped. The pill now hides whenever the
cookie-consent (.msos-cc) or language (.lang-suggest) banner is present, via a
MutationObserver on <body>, and reappears once they are dismissed. With the
pill yielding, the language banner is dropped back to the bottom edge.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
popovskik added 1 commit 2026-08-27 16:15:29 +00:00
build: content-hash cache-busting for local CSS/JS (?v=hash)
Deploy to Production on Develop Push / deploy (push) Successful in 20s
954f186761
Stops deploys being served stale from browser cache — the recurring "changes
do not show up until a hard refresh" problem.

- New tools/cache_bust.py stamps a global content hash onto every local
  <link>/<script> CSS/JS ref AND the @import lines in css/main.css (so partial
  edits bust too). External (https://) refs are untouched. Deterministic and
  idempotent: same content -> same stamp, any asset edit -> new stamp sitewide.
- Wired as the final step of tools/build_site.py so every build/deploy stamps.
- Initial stamp applied across 259 pages + main.css (v=64a53dd6).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
popovskik merged commit ba839daa98 into master 2026-08-27 16:25:14 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mark/msos#28