Skip to content

AO3-7470 Always use first-party JQuery & JQuery UI#5850

Open
slavalamp wants to merge 1 commit into
otwcode:masterfrom
slavalamp:AO3-7470_first_party_jquery
Open

AO3-7470 Always use first-party JQuery & JQuery UI#5850
slavalamp wants to merge 1 commit into
otwcode:masterfrom
slavalamp:AO3-7470_first_party_jquery

Conversation

@slavalamp
Copy link
Copy Markdown
Contributor

@slavalamp slavalamp commented Jun 3, 2026

Pull Request Checklist

Issue

AO3-7470: Move JQuery/JQuery UI to first party hosting

Purpose

Makes it so the site always serves its own JQuery JavaScript files (which were previously a fallback) instead of getting them from Google.

Notes

While the JS in our jquery.js, jquery.min.js and jquery-ui.js files is exactly identical to Google's, jquery-ui.min.js looks different for some reason. Things seem to work the same for me, and the automated tests should show if anything breaks there, I'm guessing that a different minifier just happened to get used at some point, but I'm also open to replacing the file if anyone feels it'd be safer to make it exactly identical to Google's.

Also I have no idea why the error pages are loading any javascript at all...

Credit

slavalamp

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant