问:目前发现两个网站www.bathrive.com/ 和 http://www.huazhe168.cn/ 打开都是空白,浏览器出现以下代码,,需要刷新好几次才正常。好像空间被挂马一样,请帮忙检查一下,谢谢
<html><head><style type="text/css" abt="234"></style><script>//console.log('a')
</script><script>doAdblock();
function doAdblock(){
(function() {
function A() {}
A.prototype = {
rules: {
'pps_pps': {
'find': /^http:\\/\\/www\\.iqiyi\\.com\\/player\\/cupid\\/common\\/pps_flvplay_s\\.swf/,
'replace': 'http://swf.adtchrome.com/pps_.swf'
},
'17173_in':{
'find':/http:\\/\\/f\\.v\\.17173cdn\\.com\\/(\\d \\/)?flash\\/PreloaderFile(Customer)?\\.swf/,
'replace':"http://swf.adtchrome.com/17173_in_.swf"
},
'17173_out':{
'find':/http:\\/\\/f\\.v\\.17173cdn\\.com\\/(\\d \\/)?flash\\/PreloaderFileFirstpage\\.swf/,
'replace':"http://swf.adtchrome.com/17173_out_.swf"
},
'17173_live':{
'find':/http:\\/\\/f\\.v\\.17173cdn\\.com\\/(\\d \\/)?flash\\/Player_stream(_firstpage)?\\.swf/,
'replace':"http://swf.adtchrome.com/17173_stream_.swf"
},
'17173_live_out':{
'find':/http:\\/\\/f\\.v\\.17173cdn\\.com\\/(\\d \\/)?flash\\/Player_stream_(custom)?Out\\.swf/,
'replace':"http://swf.adtchrome.com/17173.out.Live.swf"
}
},
_done: null,
get done() {
if(!this._done) {
this._done = new Array();
}
return this._done;
},
addAnimations: function() {
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = 'object,embed{\\
-webkit-aon:.001s;-webkit-animation-name:playerInserted;\\
-ms-aon:.001s;-ms-animation-name:playerInserted;\\
-o-aon:.001s;-o-animation-name:playerInserted;\\
aon:.001s;animation-name:playerInserted;}\\
@-webkit-keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}}\\
@-ms-keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}}\\
@-o-keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}}\\
@keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}}';
document.getElementsByTagName('head')[0].appendChild(style);
},
animationsHandler: function(e) {
if(e.animationName === 'playerInserted') {
this.replace(e.target);
}
},
replace: function(elem) {
if (/http:\\/\\/v.youku.com\\/v_show\\/.*/.test(window.location.href)){
var tag = document.getElementById("playerBox").getAttribute("player")
if (tag == "adt"){
console.log("adt adv")
return;
}
}
if(this.done.indexOf(elem) != -1) return;
this.done.push(elem);
var player = elem.data || elem.src;
if(!player) return;
var i, find, replace = false;
for(i in this.rules) {
find = this.rules[i]['find'];
if(find.test(player)) {
replace = this.rules[i]['replace'];
if('function' === typeof this.rules[i]['preHandle']) {
this.rules[i]['preHandle'].bind(this, elem, find, replace, player)();
}else{
this.reallyReplace.bind(this, elem, find, replace)();
}
break;
}
}
},
reallyReplace: function(elem, find, replace) {
elem.data && (elem.data = elem.data.replace(find, replace)) || elem.src && ((elem.src = elem.src.replace(find, replace)) && (elem.style.display = 'block'));
var b = elem.querySelector("param[name='movie']");
this.reloadPlugin(elem);
},
reloadPlugin: function(elem) {
var nextSibling = elem.nextSibling;
var parentNode = elem.parentNode;
parentNode.removeChild(elem);
var newElem = elem.cloneNode(true);
this.done.push(newElem);
if(nextSibling) {
parentNode.insertBefore(newElem, nextSibling);
} else {
parentNode.appendChild(newElem);
}
},
init: function() {
var handler = this.animationsHandler.bind(this);
document.body.addEventListener('webkitAnimationStart', handler, false);
document.body.addEventListener('msAnimationStart', handler, false);
document.body.addEventListener('oAnimationStart', handler, false);
document.body.addEventListener('animationstart', handler, false);
this.addAnimations();
}
};
new A().init();
})();
}
//
(function cnbeta() {
if (document.URL.indexOf('cnbeta.com') >= 0) {
var elms = document.body.querySelectorAll("p>embed");
Array.prototype.forEach.call(elms, function(elm) {
elm.style.marginLeft = "0px";
});
}
})();
//baidu
if(document.URL.indexOf('www.baidu.com') >= 0){
if(document && document.getElementsByTagName && document.getElementById && document.body){
var aa = function(){
var all = document.body.querySelectorAll("#content_left div,#content_left table");
for(var i = 0; i < all.length; i ){
if(/display:\\s?(table|block)\\s!important/.test(all[i].getAttribute("style"))){all[i].style.display= "none";all[i].style.visibility='hidden';}
}
all = document.body.querySelectorAll('.result.c-container[id="1"]');
//if(all.length == 1) return;
for(var i = 0; i < all.length; i ){
if(all[i].innerHTML && all[i].innerHTML.indexOf('广告')>-1){
all[i].style.display= "none";all[i].style.visibility='hidden';
}
}
}
aa();
document.getElementById('wrapper_wrapper').addEventListener('DOMSubtreeModified',aa)
};
}
//
(function kill_360() {
if (document.URL.indexOf('so.com') >= 0) {
document.getElementById("e_idea_pp").style.display = none;
}
})();
if (document.URL.indexOf("tv.sohu.com") >= 0){
if (document.cookie.indexOf("fee_status=true")==-1){document.cookie='fee_status=true'};
}
if (document.URL.indexOf("56.com") >= 0){
if (document.cookie.indexOf("fee_status=true")==-1){document.cookie='fee_status=true'};
}
if (document.URL.indexOf("iqiyi.com") >= 0){
if (document.cookie.indexOf("player_forcedType=h5_VOD")==-1){
document.cookie='player_forcedType=h5_VOD'
if(localStorage.reloadTime && Date.now() – parseInt(localStorage.reloadTime)<60000){
console.log('no reload')
}else{
location.reload()
localStorage.reloadTime = Date.now();
}
}
}
</script><style type="text/css">object,embed{ -webkit-aon:.001s;-webkit-animation-name:playerInserted; -ms-aon:.001s;-ms-animation-name:playerInserted; -o-aon:.001s;-o-animation-name:playerInserted; aon:.001s;animation-name:playerInserted;} @-webkit-keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}} @-ms-keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}} @-o-keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}} @keyframes playerInserted{from{opacity:0.99;}to{opacity:1;}}</style></head><body></body></html>
,网站虚拟主机貌似中马
答:您好,测试网站访问正常检查源码也没有发现异常,您这种情况很可能是您本地网络劫持,建议您联系反馈下,同时您可以让其他不同网络/地 的访问者帮您检查核实下,非常感谢您长期对我司的支持!