Skip to content

Hide crawler text in app pages before the app mounts - #381

Merged
merlinfuchs merged 1 commit into
mainfrom
merlin/hide-prerender-flash
Oct 16, 2026
Merged

merlinfuchs merged 1 commit into
mainfrom
merlin/hide-prerender-flash

Conversation

@merlinfuchs

Copy link
Copy Markdown
Owner

The heading and text pages.ts puts in #root for non-JS crawlers painted for a frame or two before React replaced it, showing as unstyled text in the corner. A stylesheet rule hides it instead of the hidden attribute, since text extractors like Readability skip hidden elements but don't apply CSS.

@merlinfuchs
merlinfuchs merged commit 4c9279b into main Oct 16, 2026
4 checks passed
@merlinfuchs
merlinfuchs deleted the merlin/hide-prerender-flash branch October 16, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant