: How to check if linked JavaScript and CSS files are being used? I've inherited a website that seems to import every JS and CSS framework my predecessor could think of. Is there an easy way
I've inherited a website that seems to import every JS and CSS framework my predecessor could think of. Is there an easy way to analyze the site and determine which ones are actually being used? Or do I have to manually check every page on the site?
More posts by @Gail5422790
1 Comments
Sorted by latest first Latest Oldest Best
JavaScript
Use a JavaScript code coverage tool such as JSCover. It returns a coverage chart like this one showing what percentage of functions in each linked JavaScript file are used.
CSS
Download the site and recreate it locally, then use a CSS scanning tool such as Helium. It requires a line-separated list of URLs to parse.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.