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

Is it possible to use this with html file? #197

Open lkc0626 opened 2 years ago

lkc0626 commented 2 years ago

Is it possible to use this with downloaded html file instead of live website?

Semigradsky commented 2 years ago

Of course you can. Like any another browser extension.

lkc0626 commented 2 years ago

I tried to open the html file into the browser but the library detector couldn't recognize any library with HTML file. Is there any way to run it locally? then input HTML file manually?

Semigradsky commented 2 years ago

This extension detects libraries by executed JS code. Maybe your HTML file has incorrect paths to JS files, you can open Network tab on Browser Developer Tools and check that you haven't 404 or other errors for JS files.