有言评论自定义js
UYAN.addCmt2 = UYAN.addCmt;
UYAN.addCmt = function(e, a, b) {
UYAN.addCmt2(e, a, b);
$("#uyan_box_cnt div:eq(0) span").html("<label style='color:red;font-size:20px;'>登陆</label>");
$("#uyan_box_cnt div:eq(1) h2").html("<label>点击图标登陆</label>");
}
UYAN.addCCmt2 = UYAN.addCCmt;
UYAN.addCCmt = function (e,a){
UYAN.addCCmt2(e,a);
$(".uyan_cmt_uname").attr('href','javascript:;');
$("#uyan_cmt_list div div a").attr('href','javascript:;');
}
我们通过js劫持有言函数,将原来的功能进行劫持



评论已关闭!