This tool is a combination of popular auxiliary tools on the Internet, such as JavaScript obfuscation, compression, formatting, CSS compression, and CSS formatting. In order to make it easy to use, comics separates all functions and can be used offline. You do not need to call others' interfaces online for full localization. Main functions: 1. JavaScript obfuscation 2. JS compression 3. JS formatting 4. CSS compression 5. The core code of CSS formatting is as follows:
LCSSCoder = (s) {s = s. replace (/\ s * ([\ {\} \: \; \,]) \ s */g, "$1" = s. replace (/; \ s *;/g, ";"); s = s. replace (/\, [\ s \. \ # \ d] * {/g, "{" = s. replace (/([^ \ s]) \ {([^ \ s])/g, "$1 {\ n \ t $2" = s. replace (/([^ \ s]) \} ([^ \ n] *)/g, "$1 \ n} \ n $2" = s. replace (/([^ \ s]); ([^ \ s \}])/g, "$1; \ n \ t $2" (s) {s = s. replace (/\/\*(. | \ n )*? \ * \ // G, ""); s = s. replace (/\ s * ([\ {\} \: \; \,]) \ s */g, "$1" = s. replace (/\, [\ s \. \ # \ d] * \ {/g, "{"); s = s. replace (/; \ s *;/g, ";"); s = s. match (/^ \ s * (\ S + (\ s + \ S +) *) \ s * $/); (s = )? "": S [1
The effect is as follows:
Online Demo and download