mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-07-31 00:22:01 +08:00
add
This commit is contained in:
parent
a07d5b11cf
commit
24f22a7cd5
@ -1275,6 +1275,7 @@ function muti_process_defusion(jscode, config){
|
||||
|
||||
function muti_process_sojsondefusion(jscode, config){
|
||||
var ast = parser.parse(jscode);
|
||||
config = config || {}
|
||||
|
||||
if (ast.program.body.length == 1){
|
||||
ast.program.body = ast.program.body[0].expression.callee.body.body
|
||||
|
@ -45,7 +45,14 @@ function get_ob_config(){
|
||||
|
||||
sojsontn.addEventListener('click', function(e){
|
||||
try{
|
||||
;(txt2||txt).value = muti_process_sojsondefusion(txt.value, get_ob_config())
|
||||
try{
|
||||
;(txt2||txt).value = muti_process_sojsondefusion(txt.value, get_ob_config())
|
||||
}catch(e){
|
||||
console.log('解密失败,尝试不配置清理 clear_ob_extra 再次解密')
|
||||
var config = get_ob_config()
|
||||
delete config.clear_ob_extra
|
||||
;(txt2||txt).value = muti_process_sojsondefusion(txt.value)
|
||||
}
|
||||
}catch(e){
|
||||
;(txt2||txt).value = e.stack
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user