Title: Legacy Javascript
Last modified: November 28, 2025

---

# Legacy Javascript

 *  Resolved [sandalsand](https://wordpress.org/support/users/sandalsand/)
 * (@sandalsand)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/legacy-javascript-2/)
 * In Lighthouse I get this “warning”: “Avoid serving legacy JavaScript to modern
   browsers.”
 * It points to: [https://”mywebsite”/wp-content/plugins/nextgen-gallery/static/GalleryDisplay/common.js?ver=3.59.12](https://”mywebsite”/wp-content/plugins/nextgen-gallery/static/GalleryDisplay/common.js?ver=3.59.12)
 * How do I get rid of this? In addition, I think there are more “legacy” warnings
   attributed to NGG, but I can’t recall all.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Mihai](https://wordpress.org/support/users/mceban/)
 * (@mceban)
 * [4 months ago](https://wordpress.org/support/topic/legacy-javascript-2/#post-18744336)
 * Hi [@sandalsand](https://wordpress.org/support/users/sandalsand/) ,
 * Thank you for bringing this to our attention. I’ve forwarded your report to our
   development team, and they’ll address the legacy code issue in the common.js 
   file.
 * Best regards,
   Mihai

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flegacy-javascript-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mihai](https://wordpress.org/support/users/mceban/)
 * Last activity: [4 months ago](https://wordpress.org/support/topic/legacy-javascript-2/#post-18744336)
 * Status: resolved