Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
We should consider other options for the detection script as detectmobilebrowser.js is now handling redirects itself, in a way that I am finding confusing. In order to get the module to work, one now has to modify their script.
Resolution
Find a different 3rd party mobile detection library for jquery. Modify the module and documentation.
Comments
Comment #1
saltednutThis has been resolved.
7.x-1.1 - 6166f55
6.x-1.11 - 246f0b7
Comment #2
saltednutNo longer using any external libraries.
Comment #3
saltednutAs of *.x-12 (both versions), one can edit the REGEX string used by our native javascript for mobile detection.
D6: [example.com]/admin/settings/mobile-subdomain
D7: [example.com]/admin/config/system/mobile-subdomain