Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

jQuery Downgrade

1,452 sites Security covered
View on drupal.org

This module provides options to revert to jQuery 3 on specific pages or globally for certain themes, helping to maintain compatibility with existing themes and widgets when upgrading to Drupal versions that use newer jQuery versions.

We created this module to help soften the landing of Drupal 11 which brings us jQuery 4

JQuery Downgrade - released February 11th 2025

  • jQuery downgrade, aiming to keep the use of this module to the bare minimum by offering configurable ways to downgrade.
  • Created because we live in an imperfect world and have to be pragmatic.
  • The jquery_downgrade module gives us flexibility to "downgrade" for a specific node (nid) or set of nodes (one per line) or view pages and can optionally be downgraded globally on a per theme bases.
  • Additional configuration options are foreseen and patches to improve this module are welcome.

This module is to bridge the compatibility gap between certain themes that may have some difficulty supporting a specific widget. We found that the media browser would not load properly when displayed on a Bootstrap 3 based theme in Drupal 11 and we had a small edge case to deal with so we wanted a configurable module that would allow us to quickly handle edge cases and restore jQuery 3 on specific pages that involve these edge cases. This module allows chosing a wide scope or a specific node page or a view page. Other configuration options will be made available upon request.

Features

Restore jQuery 3 on a narrow scope for a specific specific node id or node ids (one per line) or view pages (checkbox selection(s)) or by theme selection for a wider scope. Other configuration options can and will be made available upon request.

Post-Installation

Install the module then visit the /admin/config/development/jquery-downgrade configuration page to configure which node ids or which views or if you widen the scope choose a specific theme to revert to jQuery 3 (downgrade). The result is the page configured will be rendered with jQuery 3 instead of jQuery 4. This overrides the core jQuery and reverts to jQuery 3. At time of writing this is the only jQuery versions that we're concerned with but may expand options in the future as needed.

Additional Requirements

No additional requirements.

Similar projects

jquery_update

Community Documentation

Link to README.md

Activity

Total releases
7
First release
Feb 2025
Latest release
2 months ago
Releases (12 mo)
3 ▼ from 4
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.5 Stable May 8, 2026
1.0.4 Stable Mar 9, 2026
1.0.3 Stable Oct 9, 2025
1.0.2 Stable Jul 15, 2025
1.0.1 Stable Feb 12, 2025
1.0.0 Stable Feb 11, 2025
1.0.x-dev Dev Feb 11, 2025