- 
                Notifications
    
You must be signed in to change notification settings  - Fork 77
 
Description
One requirement for adding a stack pack is reliably detecting that the stack/library/platform is being used by the page. We want this detection to be as reliable and bulletproof as possible.
Wappalyzer uses a few approaches which seem overkill and not something we can reuse. We'd like something much more lightweight.
Primary question: Can we detect wordpress via via clientside JS running in the page? (Naturally, it has full access to window and the DOM.)
Secondary question: Is there another reliable detect based on the network request metadata?  We'd like to avoid parsing the response of any network resources (so no looking for patterns in HTML, JS or CSS files). But considering
response headers or paths in urls (like wp-content, etc) is fine.
Could some WordPress experts chime in?