mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-08-14 17:05:55 +08:00
add
This commit is contained in:
parent
25de34d22d
commit
7a92009ad6
@ -141,6 +141,7 @@
|
||||
<button id='obnormal'>普通解混淆</button>
|
||||
<button id='uglify'>仅变量压缩</button>
|
||||
<button id='uglify_mini'>完全压缩脚本</button>
|
||||
<label id='env' style="color: #FFEEEE">cilame</label>
|
||||
<br/>
|
||||
<label>source</label>
|
||||
<textarea id='txt' style="width: 100%; height: 500px"></textarea>
|
||||
@ -151,6 +152,7 @@
|
||||
<script src="options.js"></script>
|
||||
<script src="tools/babel_asttool.js"></script>
|
||||
<script src="tools/uglify_es.js"></script>
|
||||
<script src="tools/env_maker.js"></script>
|
||||
<script src="tools/btn_utils.js"></script>
|
||||
|
||||
</body>
|
||||
|
@ -52,3 +52,8 @@ uglify_minibtn.addEventListener('click', function(e){
|
||||
var r = UglifyJS.minify(txt.value)
|
||||
;(txt2||txt).value = r.code?r.code:r.error;
|
||||
})
|
||||
|
||||
var envb = document.getElementById('env');
|
||||
envb.addEventListener('dblclick', function(e){
|
||||
;(txt2||txt).value = '!'+v_mk+'()';
|
||||
})
|
2204
tools/env_maker.js
Normal file
2204
tools/env_maker.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user