用于混淆HTML和CSS的工具

编程入门 行业动态 更新时间:2024-10-13 00:38:39
本文介绍了用于混淆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的工具

本文发布于:2023-11-07 19:32:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1567225.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:工具   HTML   CSS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!