用于混淆HTML和CSS的工具 [英] tools for obfuscating html and css

查看:1037
本文介绍了用于混淆HTML和CSS的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找类似

它的功能


重写类和ids CSS,HTML和JavaScript文件,
做类似.class到.a或#id到#a不确定javascript obfu是伟大的使用(我喜欢谷歌关闭这样做),但html和css是

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的关闭样式表可以重命名您的课程名称。它与HTML和 Closure Template 结合使用/ closure / compiler /> Closure Compiler for the JavaScript。

Google's Closure Stylesheets can rename your class names. It work in conjunction with Closure Template for the HTML and Closure Compiler for the JavaScript.


Closure Stylesheets可以重命名CSS类名生成的样式表,这有助于减少发送给您的用户的CSS的大小。当然,除非在使用CSS的HTML和JavaScript文件中重命名类名,否则这不是特别有用。幸运的是,您可以使用Closure Compiler更新JavaScript和Closure模板中的类名,以更新HTML中的类名。

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和CSS的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆