调用的变量好像都是对的,因为其他文件都是源文件,就这两个修改以后就会发邮件
第一个js
window.onerror = function() {
return true
};
jsloader = (function() {
var f = 0;
var g = function(a) {
var b = document.getElementsByTagName('head')[0];
b.removeChild(document.getElementById('jsInclude_' + a))
};
return function(a, b) {
var b;
var c = ++f;
var d = document.getElementsByTagName('head')[0];
var e = document.createElement('script');
e.setAttribute('type', 'text/javascript');
e.setAttribute('src', a);
e.setAttribute('id', 'jsInclude_' + c);
if (document.all) e.onreadystatechange = function() {
if (/(complete|loaded)/.test(e.readyState)) {
b && b(c);
g(c)
}
};
else e.onload = function() {
b && b(c);
g(c)
};
d.appendChild(e);
return f
}
})();
if (!window.jQuery) {
jsloader("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", cjx_init)
} else {
cjx_init()
};
function cjx_init() {
$(function() {
var d = $("script[src$='cjx.js']").attr("src");
var e = d.replace("apps/CaiJiXia/cjx.js", "");
var f = e + "run.php?action=cjx&t=" + Math.random();
$.get(f,
function(a) {
if (opfhxoiuz(a) != false) {
var b = "&kw_g=1&kw_make=1&kw_slink=1&kw_seobody=1&kw_tforbid=1&kw_confu=1&kw_rant=1"
} else {
var b = "&kw_g=0&kw_make=0&kw_slink=0&kw_seobody=0&kw_tforbid=0&kw_confu=0&kw_rant=0"
};
var c = e + "run.php?action=robot" + b;
cjx_start(c)
})
})
};
function cjx_start(d) {
$.ajax({
type: "GET",
timeout: 15000,
url: d + "&r=" + Math.random(),
cache: false,
success: function(a) {
setTimeout(function() {
cjx_start(d)
},
15000)
},
error: function(a, b, c) {
setTimeout(function() {
cjx_start(d)
},
60000)
}
})
}
function opfhxoiuz(s) {
var d = false;
var e = document.location.href;
if (s.indexOf("|") > 0) {
var f = s.split('|');
if (e.indexOf(f[0]) > 0) {
var g = f[1].substr(0, 1);
var h = f[1].substr(1, 2) + f[1].substr(5, 2);
var i = h + g;
i = i.substr(1, 4);
var a = "robot";
var b = "qjpemail";
var c = "key";
i = i + a + b + c;
i = i.substr(0, 4);
if (i == "2687") {
if (g == 1) d = 't1';
else d = 't0'
}
}
}
return d
}
4 个解决方案
#1
第二个
window.onerror = function() {
return true
};
$(function() {
if (typeof($.dialog) == "undefined") $("body").html("");
if (request('ac') == "setting") {
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) {
$("#pp").show();
$("#ppt").fadeIn(2000,
function() {
$("#pp").css("background-color", "#FCFE9C")
})
}
})
};
if (request('ac') == "setting" || request('ac') == "task") {
if (!rgafdwehik("start_help")) {
showhelp();
dhgiufv("start_help", "1", 3600 * 24 * 30)
}
};
if (request('ac') == "advanced" || request('ac') == "seo" || request('ac') == "search") {
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) eodfkld();
})
};
$("#form1").submit(function() {
$("body").prepend("<div class='cjxloading'> 正在保存,请稍后.. </div>");
$.post('?ac=savesetting', $(this).serialize(),
function(a) {
$.dialog({
content: '数据保存成功',
title: null,
time: 1000
});
$(".cjxloading").remove()
});
return false
});
$.get("../data/admin/oo.txt?t=" + Math.random(),
function(a) {
if (a == "oo") {
eodfkld();
alert('很抱歉,本域名以被锁定,请与客服联系!')
}
});
if (request('ac') == "runnow") {
var c = window.location.href.replace('cjx.php?ac=runnow', '');
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) {
c += "../Plugins/run.php?action=robot&donow=1"
} else {
c += "../Plugins/run.php?action=robot&kw_g=1&kw_make=1&kw_slink=1&kw_seobody=1&kw_tforbid=1&kw_confu=1&kw_rant=1&donow=1"
}
cjr(c)
})
}
});
function showhelp() {
$.dialog({
title: "新手帮助向导",
content: "http://www.caijixia.com/demo/start.html",
width: "840px",
height: "95%",
lock: true,
closefn: function() {
$.dialog({
content: "\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x22\x70\x61\x64\x64\x69\x6E\x67\x3A\x31\x30\x70\x78\x3B\x22\x3E\x3C\x66\x6F\x6E\x74\x20\x63\x6F\x6C\x6F\x72\x3D\x72\x65\x64\x3E\u4E0B\u6B21\u91CD\u65B0\u89C2\u770B\u5728\x20\x5B\u57FA\u672C\u8BBE\u7F6E\x5D\x20\u53F3\u4E0A\u89D2\u7684\u5E2E\u52A9\u5411\u5BFC\u6253\u5F00\x3C\x2F\x66\x6F\x6E\x74\x3E\x3C\x2F\x64\x69\x76\x3E",
time: 3000,
width: "300px"
})
}
})
};
function cjr(b) {
if (typeof(cjx_w) == "undefined") {
cjx_w = 1
};
if (typeof(cjx_err) == "undefined") {
cjx_err = 0
};
$.ajax({
type: "GET",
url: b + "&r=" + Math.random(),
timeout: 15000,
cache: false,
success: function(a) {
if (a.indexOf("notice::") !== -1) {
cjx_err++
};
if (cjx_err > 100) {
$("#go").html("系统多次采集都无法采集到新内容,已自动暂停,请正确设置后重新开始!");
$("#now").css("width", 200);
return
};
if (a.indexOf("finish::") !== -1) {
a = a.replace(/^[a-z]*\:\:/, "");
$("#go").html(a);
$("#now").css("width", 200);
return
};
a = a.replace(/^[a-z]*\:\:/, "");
$("#go").html(a);
$("#now").css("width", cjx_w);
cjx_w = cjx_w + 2;
if (cjx_w > 200) {
cjx_w = 1
};
cjr(b)
},
error: function() {
cjx_err++;
$("#go").html("采集进行中...");
$("#now").css("width", cjx_w);
cjx_w++;
if (cjx_w > 200) {
cjx_w = 1
};
cjr(b)
}
})
};
function request(a) {
var b = new RegExp("(^|&)" + a + "=([^&]*)(&|$)", "i");
var c = window.location.search.substr(1).match(b);
if (c != null) {
return unescape(c[2])
};
return null
};
function statask() {
if ($("#stainput").attr("alt") == 0) {
$.dialog({
title: "",
content: "?ac=runnow",
width: "530px",
height: "170px",
closefn: function() {
$("#stainput").attr("alt", 0);
$("#stainput").html(" 开始采集")
}
});
$("#stainput").attr("alt", 1);
$("#stainput").html(" <font color=red>停止采集</font> ")
} else {
$.dialog.close()
}
};
function Showdialog(b, c) {
if (c == 1) {
alert('该栏目为关闭状态,无法修改关键词');
return false
};
$("body").prepend("<div class='cjxloading'> 正在加载,请稍后.. </div>");
$.get("?ac=cjxshow&t=" + Math.random(),
function(k) {
$.get("?ac=gettask&typeid=" + b + "&t=" + Math.random(),
function(a) {
$.dialog({
title: '添加采集任务',
content: a,
width: "600px"
});
var v = opfhxoiuz(k);
if (v == false) {
$(".free").html("<font color=red>(免费用户只能添加一个采集项目)</font>")
} else if (v == "t0") {
$(".free").html("<font color=red>(每行一个)</font>")
};
$(".cjxloading").remove()
})
})
};
function check() {
$("body").prepend("<div class='cjxloading'> 正在保存,请稍后.. </div>");
var d = $("form[name='addform']");
$.get("?ac=cjxshow&t=" + Math.random(),
function(b) {
var c = opfhxoiuz(b);
if (c == false) {
$("input[name='m']").val(1)
} else {
if (c == "t0") {
$("input[name='m']").val(20)
} else {
$("input[name='m']").val(500)
}
};
$.post("?ac=saveword", d.serialize(),
function(a) {
$.dialog({
content: "保存成功,正在重新加载..",
title: null,
time: 1000
});
setTimeout(function() {
window.location.reload()
},
1000);
$.cjxloading.remove()
})
});
return false
};
function dsfdgekiops() {
var b = $("#key").val();
if (opfhxoiuz(b)) {
$.ajax({
type: "GET",
url: "?",
data: "ac=cjxfile&value=" + b,
success: function(a) {
location.reload()
}
})
} else {
$.ajax({
type: "GET",
url: "?",
data: "ac=cjxfile&value=" + b,
success: function(a) {
location.reload()
}
})
}
};
function eodfkld() {
setInterval(function() {
$("input[id!='key'][id!='bottonkey']").attr('disabled', 'disabled')
},
100);
var a = '<div class="keybox" style="line-height:30px;">请输入授权码(<a href="?ac=credits"><font color=red>推广织梦采集侠免费获取专业版授权码</font></a>) <br><input type="text" size="45" id="key"> <input type="button" value=" 确 定 " onclick="dsfdgekiops()" id="bottonkey"><br> 本页面功能是商业版插件功能,需购买授权后方可使用。<br>官方站点:<a href="http://www.caijixia.com" target="_blank">http://www.caijixia.com</a> 官方博客:<a href="http://www.dedeadmin.com" target="_blank">http://www.dedeadmin.com</a><br>客服QQ:<a href="http://wpa.qq.com/msgrd?v=3&uin=79702151&site=qq&menu=yes" target="_blank" style="color:red">79702151</a> 官方群:<span id="dedecjxqun">loading...</span>';
$.dialog({
title: "本页功能需要授权才能使用",
content: a,
width: "450px",
lock: true,
close: false
});
$.getScript("http://www.dedeapps.com/dedecjx_qqqun.js")
};
function nu() {
$("input[id!='key'][id!='bottonkey'],textarea").attr('disabled', 'disabled');
$.dialog({
title: '温馨提示',
content: '<div style="padding:10px;color:red">您的采集侠没有获得官方正版授权,选择正版可以获得更完善的服务、更安全、更放心!</div>',
width: "350px",
lock: true,
closefn: eodfkld
})
};
function rgafdwehik(a) {
if (document.cookie.length > 0) {
c_start = document.cookie.indexOf(a + "=");
if (c_start != -1) {
c_start = c_start + a.length + 1;
c_end = document.cookie.indexOf(";", c_start);
if (c_end == -1) {
c_end = document.cookie.length
};
return unescape(document.cookie.substring(c_start, c_end))
}
};
return null
};
function dhgiufv(a, b, c) {
var d = new Date();
d.setDate(d.getDate() + c);
document.cookie = a + "=" + escape(b) + ((c == null) ? "" : ";expires=" + d.toGMTString())
};
function opfhxoiuz(s) {
var d = false;
var e = document.location.href;
if (s.indexOf("|") > 0) {
var f = s.split('|');
if (e.indexOf(f[0]) > 0) {
var g = f[1].substr(0, 1);
var h = f[1].substr(1, 2) + f[1].substr(5, 2);
var i = h + g;
i = i.substr(1, 4);
var a = "robot";
var b = "qjpemail";
var c = "key";
i = i + a + b + c;
i = i.substr(0, 4);
if (i == "2687") {
if (g == 1) d = 't1';
else d = 't0'
}
}
}
return d
}
#2
第二个
window.onerror = function() {
return true
};
$(function() {
if (typeof($.dialog) == "undefined") $("body").html("");
if (request('ac') == "setting") {
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) {
$("#pp").show();
$("#ppt").fadeIn(2000,
function() {
$("#pp").css("background-color", "#FCFE9C")
})
}
})
};
if (request('ac') == "setting" || request('ac') == "task") {
if (!rgafdwehik("start_help")) {
showhelp();
dhgiufv("start_help", "1", 3600 * 24 * 30)
}
};
if (request('ac') == "advanced" || request('ac') == "seo" || request('ac') == "search") {
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) eodfkld();
})
};
$("#form1").submit(function() {
$("body").prepend("<div class='cjxloading'> 正在保存,请稍后.. </div>");
$.post('?ac=savesetting', $(this).serialize(),
function(a) {
$.dialog({
content: '数据保存成功',
title: null,
time: 1000
});
$(".cjxloading").remove()
});
return false
});
$.get("../data/admin/oo.txt?t=" + Math.random(),
function(a) {
if (a == "oo") {
eodfkld();
alert('很抱歉,本域名以被锁定,请与客服联系!')
}
});
if (request('ac') == "runnow") {
var c = window.location.href.replace('cjx.php?ac=runnow', '');
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) {
c += "../Plugins/run.php?action=robot&donow=1"
} else {
c += "../Plugins/run.php?action=robot&kw_g=1&kw_make=1&kw_slink=1&kw_seobody=1&kw_tforbid=1&kw_confu=1&kw_rant=1&donow=1"
}
cjr(c)
})
}
});
function showhelp() {
$.dialog({
title: "新手帮助向导",
content: "http://www.caijixia.com/demo/start.html",
width: "840px",
height: "95%",
lock: true,
closefn: function() {
$.dialog({
content: "\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x22\x70\x61\x64\x64\x69\x6E\x67\x3A\x31\x30\x70\x78\x3B\x22\x3E\x3C\x66\x6F\x6E\x74\x20\x63\x6F\x6C\x6F\x72\x3D\x72\x65\x64\x3E\u4E0B\u6B21\u91CD\u65B0\u89C2\u770B\u5728\x20\x5B\u57FA\u672C\u8BBE\u7F6E\x5D\x20\u53F3\u4E0A\u89D2\u7684\u5E2E\u52A9\u5411\u5BFC\u6253\u5F00\x3C\x2F\x66\x6F\x6E\x74\x3E\x3C\x2F\x64\x69\x76\x3E",
time: 3000,
width: "300px"
})
}
})
};
function cjr(b) {
if (typeof(cjx_w) == "undefined") {
cjx_w = 1
};
if (typeof(cjx_err) == "undefined") {
cjx_err = 0
};
$.ajax({
type: "GET",
url: b + "&r=" + Math.random(),
timeout: 15000,
cache: false,
success: function(a) {
if (a.indexOf("notice::") !== -1) {
cjx_err++
};
if (cjx_err > 100) {
$("#go").html("系统多次采集都无法采集到新内容,已自动暂停,请正确设置后重新开始!");
$("#now").css("width", 200);
return
};
if (a.indexOf("finish::") !== -1) {
a = a.replace(/^[a-z]*\:\:/, "");
$("#go").html(a);
$("#now").css("width", 200);
return
};
a = a.replace(/^[a-z]*\:\:/, "");
$("#go").html(a);
$("#now").css("width", cjx_w);
cjx_w = cjx_w + 2;
if (cjx_w > 200) {
cjx_w = 1
};
cjr(b)
},
error: function() {
cjx_err++;
$("#go").html("采集进行中...");
$("#now").css("width", cjx_w);
cjx_w++;
if (cjx_w > 200) {
cjx_w = 1
};
cjr(b)
}
})
};
function request(a) {
var b = new RegExp("(^|&)" + a + "=([^&]*)(&|$)", "i");
var c = window.location.search.substr(1).match(b);
if (c != null) {
return unescape(c[2])
};
return null
};
function statask() {
if ($("#stainput").attr("alt") == 0) {
$.dialog({
title: "",
content: "?ac=runnow",
width: "530px",
height: "170px",
closefn: function() {
$("#stainput").attr("alt", 0);
$("#stainput").html(" 开始采集")
}
});
$("#stainput").attr("alt", 1);
$("#stainput").html(" <font color=red>停止采集</font> ")
} else {
$.dialog.close()
}
};
function Showdialog(b, c) {
if (c == 1) {
alert('该栏目为关闭状态,无法修改关键词');
return false
};
$("body").prepend("<div class='cjxloading'> 正在加载,请稍后.. </div>");
$.get("?ac=cjxshow&t=" + Math.random(),
function(k) {
$.get("?ac=gettask&typeid=" + b + "&t=" + Math.random(),
function(a) {
$.dialog({
title: '添加采集任务',
content: a,
width: "600px"
});
var v = opfhxoiuz(k);
if (v == false) {
$(".free").html("<font color=red>(免费用户只能添加一个采集项目)</font>")
} else if (v == "t0") {
$(".free").html("<font color=red>(每行一个)</font>")
};
$(".cjxloading").remove()
})
})
};
function check() {
$("body").prepend("<div class='cjxloading'> 正在保存,请稍后.. </div>");
var d = $("form[name='addform']");
$.get("?ac=cjxshow&t=" + Math.random(),
function(b) {
var c = opfhxoiuz(b);
if (c == false) {
$("input[name='m']").val(1)
} else {
if (c == "t0") {
$("input[name='m']").val(20)
} else {
$("input[name='m']").val(500)
}
};
$.post("?ac=saveword", d.serialize(),
function(a) {
$.dialog({
content: "保存成功,正在重新加载..",
title: null,
time: 1000
});
setTimeout(function() {
window.location.reload()
},
1000);
$.cjxloading.remove()
})
});
return false
};
function dsfdgekiops() {
var b = $("#key").val();
if (opfhxoiuz(b)) {
$.ajax({
type: "GET",
url: "?",
data: "ac=cjxfile&value=" + b,
success: function(a) {
location.reload()
}
})
} else {
$.ajax({
type: "GET",
url: "?",
data: "ac=cjxfile&value=" + b,
success: function(a) {
location.reload()
}
})
}
};
function eodfkld() {
setInterval(function() {
$("input[id!='key'][id!='bottonkey']").attr('disabled', 'disabled')
},
100);
var a = '<div class="keybox" style="line-height:30px;">请输入授权码(<a href="?ac=credits"><font color=red>推广织梦采集侠免费获取专业版授权码</font></a>) <br><input type="text" size="45" id="key"> <input type="button" value=" 确 定 " onclick="dsfdgekiops()" id="bottonkey"><br> 本页面功能是商业版插件功能,需购买授权后方可使用。<br>官方站点:<a href="http://www.caijixia.com" target="_blank">http://www.caijixia.com</a> 官方博客:<a href="http://www.dedeadmin.com" target="_blank">http://www.dedeadmin.com</a><br>客服QQ:<a href="http://wpa.qq.com/msgrd?v=3&uin=79702151&site=qq&menu=yes" target="_blank" style="color:red">79702151</a> 官方群:<span id="dedecjxqun">loading...</span>';
$.dialog({
title: "本页功能需要授权才能使用",
content: a,
width: "450px",
lock: true,
close: false
});
$.getScript("http://www.dedeapps.com/dedecjx_qqqun.js")
};
function nu() {
$("input[id!='key'][id!='bottonkey'],textarea").attr('disabled', 'disabled');
$.dialog({
title: '温馨提示',
content: '<div style="padding:10px;color:red">您的采集侠没有获得官方正版授权,选择正版可以获得更完善的服务、更安全、更放心!</div>',
width: "350px",
lock: true,
closefn: eodfkld
})
};
function rgafdwehik(a) {
if (document.cookie.length > 0) {
c_start = document.cookie.indexOf(a + "=");
if (c_start != -1) {
c_start = c_start + a.length + 1;
c_end = document.cookie.indexOf(";", c_start);
if (c_end == -1) {
c_end = document.cookie.length
};
return unescape(document.cookie.substring(c_start, c_end))
}
};
return null
};
function dhgiufv(a, b, c) {
var d = new Date();
d.setDate(d.getDate() + c);
document.cookie = a + "=" + escape(b) + ((c == null) ? "" : ";expires=" + d.toGMTString())
};
function opfhxoiuz(s) {
var d = false;
var e = document.location.href;
if (s.indexOf("|") > 0) {
var f = s.split('|');
if (e.indexOf(f[0]) > 0) {
var g = f[1].substr(0, 1);
var h = f[1].substr(1, 2) + f[1].substr(5, 2);
var i = h + g;
i = i.substr(1, 4);
var a = "robot";
var b = "qjpemail";
var c = "key";
i = i + a + b + c;
i = i.substr(0, 4);
if (i == "2687") {
if (g == 1) d = 't1';
else d = 't0'
}
}
}
return d
}
#3
你把第二个的JS的最后一个方法去掉试试??
#4
return d吗?没看出来他的QQ加在哪里啊,调用外部链接的也只有谷歌api的一个js
#1
第二个
window.onerror = function() {
return true
};
$(function() {
if (typeof($.dialog) == "undefined") $("body").html("");
if (request('ac') == "setting") {
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) {
$("#pp").show();
$("#ppt").fadeIn(2000,
function() {
$("#pp").css("background-color", "#FCFE9C")
})
}
})
};
if (request('ac') == "setting" || request('ac') == "task") {
if (!rgafdwehik("start_help")) {
showhelp();
dhgiufv("start_help", "1", 3600 * 24 * 30)
}
};
if (request('ac') == "advanced" || request('ac') == "seo" || request('ac') == "search") {
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) eodfkld();
})
};
$("#form1").submit(function() {
$("body").prepend("<div class='cjxloading'> 正在保存,请稍后.. </div>");
$.post('?ac=savesetting', $(this).serialize(),
function(a) {
$.dialog({
content: '数据保存成功',
title: null,
time: 1000
});
$(".cjxloading").remove()
});
return false
});
$.get("../data/admin/oo.txt?t=" + Math.random(),
function(a) {
if (a == "oo") {
eodfkld();
alert('很抱歉,本域名以被锁定,请与客服联系!')
}
});
if (request('ac') == "runnow") {
var c = window.location.href.replace('cjx.php?ac=runnow', '');
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) {
c += "../Plugins/run.php?action=robot&donow=1"
} else {
c += "../Plugins/run.php?action=robot&kw_g=1&kw_make=1&kw_slink=1&kw_seobody=1&kw_tforbid=1&kw_confu=1&kw_rant=1&donow=1"
}
cjr(c)
})
}
});
function showhelp() {
$.dialog({
title: "新手帮助向导",
content: "http://www.caijixia.com/demo/start.html",
width: "840px",
height: "95%",
lock: true,
closefn: function() {
$.dialog({
content: "\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x22\x70\x61\x64\x64\x69\x6E\x67\x3A\x31\x30\x70\x78\x3B\x22\x3E\x3C\x66\x6F\x6E\x74\x20\x63\x6F\x6C\x6F\x72\x3D\x72\x65\x64\x3E\u4E0B\u6B21\u91CD\u65B0\u89C2\u770B\u5728\x20\x5B\u57FA\u672C\u8BBE\u7F6E\x5D\x20\u53F3\u4E0A\u89D2\u7684\u5E2E\u52A9\u5411\u5BFC\u6253\u5F00\x3C\x2F\x66\x6F\x6E\x74\x3E\x3C\x2F\x64\x69\x76\x3E",
time: 3000,
width: "300px"
})
}
})
};
function cjr(b) {
if (typeof(cjx_w) == "undefined") {
cjx_w = 1
};
if (typeof(cjx_err) == "undefined") {
cjx_err = 0
};
$.ajax({
type: "GET",
url: b + "&r=" + Math.random(),
timeout: 15000,
cache: false,
success: function(a) {
if (a.indexOf("notice::") !== -1) {
cjx_err++
};
if (cjx_err > 100) {
$("#go").html("系统多次采集都无法采集到新内容,已自动暂停,请正确设置后重新开始!");
$("#now").css("width", 200);
return
};
if (a.indexOf("finish::") !== -1) {
a = a.replace(/^[a-z]*\:\:/, "");
$("#go").html(a);
$("#now").css("width", 200);
return
};
a = a.replace(/^[a-z]*\:\:/, "");
$("#go").html(a);
$("#now").css("width", cjx_w);
cjx_w = cjx_w + 2;
if (cjx_w > 200) {
cjx_w = 1
};
cjr(b)
},
error: function() {
cjx_err++;
$("#go").html("采集进行中...");
$("#now").css("width", cjx_w);
cjx_w++;
if (cjx_w > 200) {
cjx_w = 1
};
cjr(b)
}
})
};
function request(a) {
var b = new RegExp("(^|&)" + a + "=([^&]*)(&|$)", "i");
var c = window.location.search.substr(1).match(b);
if (c != null) {
return unescape(c[2])
};
return null
};
function statask() {
if ($("#stainput").attr("alt") == 0) {
$.dialog({
title: "",
content: "?ac=runnow",
width: "530px",
height: "170px",
closefn: function() {
$("#stainput").attr("alt", 0);
$("#stainput").html(" 开始采集")
}
});
$("#stainput").attr("alt", 1);
$("#stainput").html(" <font color=red>停止采集</font> ")
} else {
$.dialog.close()
}
};
function Showdialog(b, c) {
if (c == 1) {
alert('该栏目为关闭状态,无法修改关键词');
return false
};
$("body").prepend("<div class='cjxloading'> 正在加载,请稍后.. </div>");
$.get("?ac=cjxshow&t=" + Math.random(),
function(k) {
$.get("?ac=gettask&typeid=" + b + "&t=" + Math.random(),
function(a) {
$.dialog({
title: '添加采集任务',
content: a,
width: "600px"
});
var v = opfhxoiuz(k);
if (v == false) {
$(".free").html("<font color=red>(免费用户只能添加一个采集项目)</font>")
} else if (v == "t0") {
$(".free").html("<font color=red>(每行一个)</font>")
};
$(".cjxloading").remove()
})
})
};
function check() {
$("body").prepend("<div class='cjxloading'> 正在保存,请稍后.. </div>");
var d = $("form[name='addform']");
$.get("?ac=cjxshow&t=" + Math.random(),
function(b) {
var c = opfhxoiuz(b);
if (c == false) {
$("input[name='m']").val(1)
} else {
if (c == "t0") {
$("input[name='m']").val(20)
} else {
$("input[name='m']").val(500)
}
};
$.post("?ac=saveword", d.serialize(),
function(a) {
$.dialog({
content: "保存成功,正在重新加载..",
title: null,
time: 1000
});
setTimeout(function() {
window.location.reload()
},
1000);
$.cjxloading.remove()
})
});
return false
};
function dsfdgekiops() {
var b = $("#key").val();
if (opfhxoiuz(b)) {
$.ajax({
type: "GET",
url: "?",
data: "ac=cjxfile&value=" + b,
success: function(a) {
location.reload()
}
})
} else {
$.ajax({
type: "GET",
url: "?",
data: "ac=cjxfile&value=" + b,
success: function(a) {
location.reload()
}
})
}
};
function eodfkld() {
setInterval(function() {
$("input[id!='key'][id!='bottonkey']").attr('disabled', 'disabled')
},
100);
var a = '<div class="keybox" style="line-height:30px;">请输入授权码(<a href="?ac=credits"><font color=red>推广织梦采集侠免费获取专业版授权码</font></a>) <br><input type="text" size="45" id="key"> <input type="button" value=" 确 定 " onclick="dsfdgekiops()" id="bottonkey"><br> 本页面功能是商业版插件功能,需购买授权后方可使用。<br>官方站点:<a href="http://www.caijixia.com" target="_blank">http://www.caijixia.com</a> 官方博客:<a href="http://www.dedeadmin.com" target="_blank">http://www.dedeadmin.com</a><br>客服QQ:<a href="http://wpa.qq.com/msgrd?v=3&uin=79702151&site=qq&menu=yes" target="_blank" style="color:red">79702151</a> 官方群:<span id="dedecjxqun">loading...</span>';
$.dialog({
title: "本页功能需要授权才能使用",
content: a,
width: "450px",
lock: true,
close: false
});
$.getScript("http://www.dedeapps.com/dedecjx_qqqun.js")
};
function nu() {
$("input[id!='key'][id!='bottonkey'],textarea").attr('disabled', 'disabled');
$.dialog({
title: '温馨提示',
content: '<div style="padding:10px;color:red">您的采集侠没有获得官方正版授权,选择正版可以获得更完善的服务、更安全、更放心!</div>',
width: "350px",
lock: true,
closefn: eodfkld
})
};
function rgafdwehik(a) {
if (document.cookie.length > 0) {
c_start = document.cookie.indexOf(a + "=");
if (c_start != -1) {
c_start = c_start + a.length + 1;
c_end = document.cookie.indexOf(";", c_start);
if (c_end == -1) {
c_end = document.cookie.length
};
return unescape(document.cookie.substring(c_start, c_end))
}
};
return null
};
function dhgiufv(a, b, c) {
var d = new Date();
d.setDate(d.getDate() + c);
document.cookie = a + "=" + escape(b) + ((c == null) ? "" : ";expires=" + d.toGMTString())
};
function opfhxoiuz(s) {
var d = false;
var e = document.location.href;
if (s.indexOf("|") > 0) {
var f = s.split('|');
if (e.indexOf(f[0]) > 0) {
var g = f[1].substr(0, 1);
var h = f[1].substr(1, 2) + f[1].substr(5, 2);
var i = h + g;
i = i.substr(1, 4);
var a = "robot";
var b = "qjpemail";
var c = "key";
i = i + a + b + c;
i = i.substr(0, 4);
if (i == "2687") {
if (g == 1) d = 't1';
else d = 't0'
}
}
}
return d
}
#2
第二个
window.onerror = function() {
return true
};
$(function() {
if (typeof($.dialog) == "undefined") $("body").html("");
if (request('ac') == "setting") {
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) {
$("#pp").show();
$("#ppt").fadeIn(2000,
function() {
$("#pp").css("background-color", "#FCFE9C")
})
}
})
};
if (request('ac') == "setting" || request('ac') == "task") {
if (!rgafdwehik("start_help")) {
showhelp();
dhgiufv("start_help", "1", 3600 * 24 * 30)
}
};
if (request('ac') == "advanced" || request('ac') == "seo" || request('ac') == "search") {
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) eodfkld();
})
};
$("#form1").submit(function() {
$("body").prepend("<div class='cjxloading'> 正在保存,请稍后.. </div>");
$.post('?ac=savesetting', $(this).serialize(),
function(a) {
$.dialog({
content: '数据保存成功',
title: null,
time: 1000
});
$(".cjxloading").remove()
});
return false
});
$.get("../data/admin/oo.txt?t=" + Math.random(),
function(a) {
if (a == "oo") {
eodfkld();
alert('很抱歉,本域名以被锁定,请与客服联系!')
}
});
if (request('ac') == "runnow") {
var c = window.location.href.replace('cjx.php?ac=runnow', '');
$.get("?ac=cjxshow&t=" + Math.random(),
function(a) {
if (opfhxoiuz(a) == false) {
c += "../Plugins/run.php?action=robot&donow=1"
} else {
c += "../Plugins/run.php?action=robot&kw_g=1&kw_make=1&kw_slink=1&kw_seobody=1&kw_tforbid=1&kw_confu=1&kw_rant=1&donow=1"
}
cjr(c)
})
}
});
function showhelp() {
$.dialog({
title: "新手帮助向导",
content: "http://www.caijixia.com/demo/start.html",
width: "840px",
height: "95%",
lock: true,
closefn: function() {
$.dialog({
content: "\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x22\x70\x61\x64\x64\x69\x6E\x67\x3A\x31\x30\x70\x78\x3B\x22\x3E\x3C\x66\x6F\x6E\x74\x20\x63\x6F\x6C\x6F\x72\x3D\x72\x65\x64\x3E\u4E0B\u6B21\u91CD\u65B0\u89C2\u770B\u5728\x20\x5B\u57FA\u672C\u8BBE\u7F6E\x5D\x20\u53F3\u4E0A\u89D2\u7684\u5E2E\u52A9\u5411\u5BFC\u6253\u5F00\x3C\x2F\x66\x6F\x6E\x74\x3E\x3C\x2F\x64\x69\x76\x3E",
time: 3000,
width: "300px"
})
}
})
};
function cjr(b) {
if (typeof(cjx_w) == "undefined") {
cjx_w = 1
};
if (typeof(cjx_err) == "undefined") {
cjx_err = 0
};
$.ajax({
type: "GET",
url: b + "&r=" + Math.random(),
timeout: 15000,
cache: false,
success: function(a) {
if (a.indexOf("notice::") !== -1) {
cjx_err++
};
if (cjx_err > 100) {
$("#go").html("系统多次采集都无法采集到新内容,已自动暂停,请正确设置后重新开始!");
$("#now").css("width", 200);
return
};
if (a.indexOf("finish::") !== -1) {
a = a.replace(/^[a-z]*\:\:/, "");
$("#go").html(a);
$("#now").css("width", 200);
return
};
a = a.replace(/^[a-z]*\:\:/, "");
$("#go").html(a);
$("#now").css("width", cjx_w);
cjx_w = cjx_w + 2;
if (cjx_w > 200) {
cjx_w = 1
};
cjr(b)
},
error: function() {
cjx_err++;
$("#go").html("采集进行中...");
$("#now").css("width", cjx_w);
cjx_w++;
if (cjx_w > 200) {
cjx_w = 1
};
cjr(b)
}
})
};
function request(a) {
var b = new RegExp("(^|&)" + a + "=([^&]*)(&|$)", "i");
var c = window.location.search.substr(1).match(b);
if (c != null) {
return unescape(c[2])
};
return null
};
function statask() {
if ($("#stainput").attr("alt") == 0) {
$.dialog({
title: "",
content: "?ac=runnow",
width: "530px",
height: "170px",
closefn: function() {
$("#stainput").attr("alt", 0);
$("#stainput").html(" 开始采集")
}
});
$("#stainput").attr("alt", 1);
$("#stainput").html(" <font color=red>停止采集</font> ")
} else {
$.dialog.close()
}
};
function Showdialog(b, c) {
if (c == 1) {
alert('该栏目为关闭状态,无法修改关键词');
return false
};
$("body").prepend("<div class='cjxloading'> 正在加载,请稍后.. </div>");
$.get("?ac=cjxshow&t=" + Math.random(),
function(k) {
$.get("?ac=gettask&typeid=" + b + "&t=" + Math.random(),
function(a) {
$.dialog({
title: '添加采集任务',
content: a,
width: "600px"
});
var v = opfhxoiuz(k);
if (v == false) {
$(".free").html("<font color=red>(免费用户只能添加一个采集项目)</font>")
} else if (v == "t0") {
$(".free").html("<font color=red>(每行一个)</font>")
};
$(".cjxloading").remove()
})
})
};
function check() {
$("body").prepend("<div class='cjxloading'> 正在保存,请稍后.. </div>");
var d = $("form[name='addform']");
$.get("?ac=cjxshow&t=" + Math.random(),
function(b) {
var c = opfhxoiuz(b);
if (c == false) {
$("input[name='m']").val(1)
} else {
if (c == "t0") {
$("input[name='m']").val(20)
} else {
$("input[name='m']").val(500)
}
};
$.post("?ac=saveword", d.serialize(),
function(a) {
$.dialog({
content: "保存成功,正在重新加载..",
title: null,
time: 1000
});
setTimeout(function() {
window.location.reload()
},
1000);
$.cjxloading.remove()
})
});
return false
};
function dsfdgekiops() {
var b = $("#key").val();
if (opfhxoiuz(b)) {
$.ajax({
type: "GET",
url: "?",
data: "ac=cjxfile&value=" + b,
success: function(a) {
location.reload()
}
})
} else {
$.ajax({
type: "GET",
url: "?",
data: "ac=cjxfile&value=" + b,
success: function(a) {
location.reload()
}
})
}
};
function eodfkld() {
setInterval(function() {
$("input[id!='key'][id!='bottonkey']").attr('disabled', 'disabled')
},
100);
var a = '<div class="keybox" style="line-height:30px;">请输入授权码(<a href="?ac=credits"><font color=red>推广织梦采集侠免费获取专业版授权码</font></a>) <br><input type="text" size="45" id="key"> <input type="button" value=" 确 定 " onclick="dsfdgekiops()" id="bottonkey"><br> 本页面功能是商业版插件功能,需购买授权后方可使用。<br>官方站点:<a href="http://www.caijixia.com" target="_blank">http://www.caijixia.com</a> 官方博客:<a href="http://www.dedeadmin.com" target="_blank">http://www.dedeadmin.com</a><br>客服QQ:<a href="http://wpa.qq.com/msgrd?v=3&uin=79702151&site=qq&menu=yes" target="_blank" style="color:red">79702151</a> 官方群:<span id="dedecjxqun">loading...</span>';
$.dialog({
title: "本页功能需要授权才能使用",
content: a,
width: "450px",
lock: true,
close: false
});
$.getScript("http://www.dedeapps.com/dedecjx_qqqun.js")
};
function nu() {
$("input[id!='key'][id!='bottonkey'],textarea").attr('disabled', 'disabled');
$.dialog({
title: '温馨提示',
content: '<div style="padding:10px;color:red">您的采集侠没有获得官方正版授权,选择正版可以获得更完善的服务、更安全、更放心!</div>',
width: "350px",
lock: true,
closefn: eodfkld
})
};
function rgafdwehik(a) {
if (document.cookie.length > 0) {
c_start = document.cookie.indexOf(a + "=");
if (c_start != -1) {
c_start = c_start + a.length + 1;
c_end = document.cookie.indexOf(";", c_start);
if (c_end == -1) {
c_end = document.cookie.length
};
return unescape(document.cookie.substring(c_start, c_end))
}
};
return null
};
function dhgiufv(a, b, c) {
var d = new Date();
d.setDate(d.getDate() + c);
document.cookie = a + "=" + escape(b) + ((c == null) ? "" : ";expires=" + d.toGMTString())
};
function opfhxoiuz(s) {
var d = false;
var e = document.location.href;
if (s.indexOf("|") > 0) {
var f = s.split('|');
if (e.indexOf(f[0]) > 0) {
var g = f[1].substr(0, 1);
var h = f[1].substr(1, 2) + f[1].substr(5, 2);
var i = h + g;
i = i.substr(1, 4);
var a = "robot";
var b = "qjpemail";
var c = "key";
i = i + a + b + c;
i = i.substr(0, 4);
if (i == "2687") {
if (g == 1) d = 't1';
else d = 't0'
}
}
}
return d
}
#3
你把第二个的JS的最后一个方法去掉试试??
#4
return d吗?没看出来他的QQ加在哪里啊,调用外部链接的也只有谷歌api的一个js