This project is not covered by Drupal’s security advisory policy.
This is a Dev module
This module is intended to make local development easier. It is not intended to be installed on production sites.
What does it do?
- This module logs the "context" js variable to the console any time that Drupal.attachBehaviors is called.
- It provides a test function you can call from the console to see if your site if "ajax proof."
Why is this helpful?
These logs can help developers when AJAX is used on the page.
When AJAX is used and you haven't leveraged context or jquery.once in your scripts it is likely that front-end bugs will be introduced. For example, click handlers may be applied more than once leading to unwanted "repeating" or sometimes "destructive interference." These bugs may be easier to diagnose if this module is installed.
There are other times (like with modals) that you might think something is in context, but it really isn't. This module can help you figure that out too.
In short, ajax bugs are easier to fix when you have this module installed. See the Drupal JS API reference for more information on context.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Developer Tools
- Ecosystem: Development
- Created by danflanagan8 on , updated
- Drupal 10 is here!
We're compatible
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.