Overview
This module is a clone of http://drupal.org/project/js but fixes some issues
that have been addressed there for a while. As some projects of mine - like e.g. Blajax - need the option to rely on a callback handler like this but collided with some implementations in the original module, I decided to release this clone for at least until the "original" callback has been revised.
That said, this project should be considered a workaround and will most likely be abandoned once js.module has been revised. It is not intended to "compete" with the original module, just to make this clear.
The good thing, however: You don't need to alter anything. Just replace the js folder in sites/all/modules with the js_callback folder and copy the revised js.php into your Drupal root directory as before (you will of course need to properly de/activate the modules in admin/build/modules). Also all integration works as before, regarding hook_js() definitions and menu paths.
Differences to the original module
- Conditional re-implementation of the filter_xss_bad_protocol function (see #1103394: filter_xss_bad_protocol collides with "filter" dependency).
- Skipping some .htaccess directives that caused malfunctions with (I know: deprecated) Apache 1.3 (see #1103972: Strange behavior in Apache 1.3).
Note that there will be no support for D5 at the moment. Please refer to the original module if you need that. A D7 port may follow once my depending projects need it.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Developer, JavaScript Utilities, Performance and Scalability
- Reported installs: 20 sites currently report using this module. View usage statistics.
- Downloads: 127
- Last modified: December 20, 2011