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

Make cf rocket loader ignore theme script #448

Merged

Conversation

taroj1205
Copy link
Collaborator

Adding data-cfasync="false" will make rocket loader ignore this script according to their docs.
This should fix the theme script being deferred on load until page has fully loaded by cf.
Source: https://developers.cloudflare.com/speed/optimization/content/rocket-loader/ignore-javascripts/

@mauro-balades mauro-balades merged commit 7a9b8f8 into zen-browser:main Jan 31, 2025
1 check passed
@taroj1205 taroj1205 deleted the fix/rocket-loader/dark-mode branch January 31, 2025 22:49
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.

2 participants