简体   繁体   English

在我的应用程序中查找所有未使用的 Javascript 和 CSS 文件

[英]Find all unused Javascript and CSS files in my application

Is there a way to find unused javascript files ?有没有办法找到未使用的 javascript 文件? As I am working on very big and old application and many people have worked on this application and recently we have made it responsive and added bootstrap as well, all others have added Javascript and css files as per their convenience.因为我正在开发非常大和旧的应用程序,很多人都在开发这个应用程序,最近我们使它具有响应性并添加了引导程序,所有其他应用程序都根据他们的方便添加了 Javascript 和 css 文件。 But now I want to minimize these files and keep only required files in my system.但现在我想最小化这些文件,只在我的系统中保留需要的文件。

Kindly suggest any tool to find unused files.请建议任何工具来查找未使用的文件。

Developer tools in your browser. 浏览器中的开发人员工具。 For example Chrome: Developer tools -> Network 例如Chrome:开发人员工具->网络

You can use firebug, which is an add on in Firefox. 您可以使用firebug,这是Firefox中的附加功能。

https://addons.mozilla.org/en-US/firefox/addon/firebug/ https://addons.mozilla.org/zh-CN/firefox/addon/firebug/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Dreamweaver-有没有办法清理CSS / JavaScript文件并查找未使用的元素? - Dreamweaver - Is there a way to clean up css/javascript files and find unused elements? 如何为应用程序中的所有jsp页面应用通用的JavaScript和CSS? - How to apply common JavaScript and CSS for all my jsp pages in the application? 找到未使用的Javascript函数? - Find unused Javascript functions? 检测链接和未使用的文件以及未使用的 JavaScript - Detect linked & unused files and unused JavaScript 使用 JavaScript 包含我的 CSS 文件 - Include my CSS files with JavaScript 查找所有未使用的 javascript 文件 - Find all javascript files not in use Google阻止了我的网站:感染了所有* .js文件。如何找到感染我的JavaScript代码的进程? - Google blocked my site: all *.js files infected. How to find a process that infects my JavaScript code? 如何分析(并找到未使用的)JavaScript 和 CSS 覆盖整个网站的全球范围? - How to analyze (and find unused) JavaScript and CSS coverage globally over a whole website? 如果我重新启动应用程序池,客户端浏览器会引用我更新的javascript或css文件吗? - If I restart application pool, would the client browsers refer to my updated javascript or css files? IIS 找不到 JavaScript 和 CSS 文件 - IIS can't find JavaScript and CSS files
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM