johnmichel / Library-Detector-for-Chrome

🔍 Extension that detects which JavaScript libraries are running on a page
https://chrome.google.com/webstore/detail/cgaocdmhkmfnkdkbnckgmpopcbpaaejo
MIT License
662 stars 111 forks source link

Fix AngularJS detection (false-positives) #186

Closed budnix closed 1 year ago

budnix commented 4 years ago

As the AngularJS from the beginning has versioning on its object I removed the "else" condition. That else condition causes false-positives on pages where the HTML element has id="angular" (or literal object name the same).