The detection in #162 fails to detect Drupal sites without the loaded js Drupal.behaviors, for example: https://dri.es/ <- that's the Drupal website of the founder of the Drupal project.
This is an updated detection that checks for any of the following:
Tries to detect the Drupal version from meta generator (same as the old PR #162 )
Checks for Drupal.behaviors (same as the old PR #162 ) but doesn't fail detection if not found
Checks for styles/scripts resources commonly known Drupal paths of sites/(default|all)/(modules|themes|files)
The detection in #162 fails to detect Drupal sites without the loaded js
Drupal.behaviors
, for example: https://dri.es/ <- that's the Drupal website of the founder of the Drupal project.This is an updated detection that checks for any of the following:
Drupal.behaviors
(same as the old PR #162 ) but doesn't fail detection if not foundsites/(default|all)/(modules|themes|files)