用于混淆html和css的工具

前端之家收集整理的这篇文章主要介绍了用于混淆html和css的工具前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在寻找像 thisthis这样的东西

它能做什么

rewrites classes and ids in CSS,HTML,and JavaScript files,
doing something like .class to .a or #id to #a not sure the javascript obfu is great to use ( i prefer google closure to do this ) but the html and css is the question.

有什么办法吗?

解决方法

Google的 Closure Stylesheets可以重命名你的类名.它与 Closure Template结合使用HTML和 Closure Compiler的JavaScript.

Closure Stylesheets makes it possible to rename CSS class names in the generated stylesheet,which helps reduce the size of the CSS that is sent down to your users. Of course,this is not particularly useful unless the class names are renamed consistently in the HTML and JavaScript files that use the CSS. Fortunately,you can use the Closure Compiler to update the class names in your JavaScript and Closure Templates to update the class names in your HTML.

猜你在找的HTML相关文章