这段代码是什么意思
dwing吧
全部回复
仅看楼主
level 13
jzh20042003 楼主
(function(e) {
function f(s) {
s.after($('<div></div>').append($('<input type="checkbox" id="xap"/>').click(function() {
if (this.checked) {
Captcha_requirement._is_anomy = 1;
rich_postor._option.no_un = true
} else {
Captcha_requirement._is_anomy = 0;
rich_postor._option.no_un = false
}
e.focus()
})).append($('<label for="xap">\u533F\u540D\u53D1\u8868</label>')))
}
e.on('focus',
function() {
var s = $('#signNameWrapper');
if (s.length > 0) {
f(s)
} else {
setTimeout(arguments.callee, 1000)
}
$(this).off('focus', arguments.callee)
})
})($('#editor .tb-editor-editarea')); (function() {
AntiAnswerLzl._is_anomy = 1;
AntiAnswerLzl.answer.antiNeedVerify = 1;
CaptchaLzl._need_update = true;
h($('a.
lz
l_s_r, .j_lzl_p, .j_lzl_r')); (function() {
var a = arguments.callee;
$('a.j_lzl_m, .j_pager a').on('click',
function() {
setTimeout(function() {
a();
h($(this).closest('.p_post').find('a.lzl_s_r, .j_lzl_p, .j_lzl_r'))
},
500)
})
})();
var i = $('<input type="checkbox" id="xxap"/>').click(function() {
if (this.checked) {
CaptchaLzl._need_captcha = true;
LzlEditor._s_p._no_un = true;
$(CaptchaLzl._cc).show()
} else {
CaptchaLzl._need_captcha = false;
LzlEditor._s_p._no_un = false;
$(CaptchaLzl._cc).hide()
}
$(LzlEditor._s_p._se.editArea).focus()
});
var c = $('<div style="float:right"></div>').append(i).append($('<label for="xxap">\u533F\u540D</label>'));
function h(r) {
function f() {
CaptchaLzl._need_captcha = false;
$(CaptchaLzl._cc).hide();
$(LzlEditor.cur_sec).after(c)
}
r.mouseover(function() {
CaptchaLzl._need_captcha = true
}).click(function() {
i.prop('checked', false);
setTimeout(f, 1000)
})
}
})();
2013年04月06日 17点04分 1
level 12
加了点元素加了点事件,变量不明
2013年04月07日 00点04分 2
1