Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent 404 page redirects flash #1069

Open
adamhughes86 opened this issue Feb 3, 2023 · 1 comment
Open

Prevent 404 page redirects flash #1069

adamhughes86 opened this issue Feb 3, 2023 · 1 comment

Comments

@adamhughes86
Copy link
Contributor

The 404 page shows briefly before redirects - is it possible to get this script to halt page load/render until complete, so we don't get the quick 404 flash? I can't remember how feasible that is in fairly vanilla JavaScript/HTML

Originally posted by @yndajas in #1055 (review)

@adamhughes86
Copy link
Contributor Author

This could be improved by amending the redirect script to hide the 404 container element until the script has completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants