技术宅

当前位置:首页 > 网站教程 > 其他教程

其他教程

网站被举报污染解决办法 网站举报投诉过审方案

时间:03-18 作者:
网站因为内容不合规(版权、颜色等原因)被举报后,域名被污染、墙的解决方案
1、网站内容禁止PC访问<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>网站维护中..

网站因为内容不合规(版权、颜色等原因)被举报后,域名被污染、墙的解决方案
1、网站内容禁止PC访问

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>网站维护中...</title>
<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<style>
*{margin:0;padding:0}body,html{width:100%;height:100%;overflow:hidden;font-family:Helvetica,Arial,Microsoft Yahei,sans-serif;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAOYUlEQVR42u2dWW7sug5FPZzze/q+mf+k8sACFkAs1DblOBevCvAH47DcSaLEXvT25cuXl4JPnz69vHv37uXjx48vnz9/7nj9X8cb/v37d+CGf/jw4eX9+/d1vOFfv36t+zl/O/748QP89v+3b98KCq931z233/vzf/78Wfjt+OvXL87Xswvc3jpynjbzPp7HecDX+zzPBwqnrwX0P+K0v95ffej9Aae/NQaFbwx2DUz9UDi/NZwG10DWzQVuAAQBuN4DXv+D17FfXw2lE5yHiGnAIBDt7ecZjDr6fl0vXASZCGC8CAcBIAL479+/b8c+gek/K6Sgz5jeQGYQM5oZvkoQZik47/OAg6cZ5RWSZjx94H31jHpu6p/vhwheISNBzDGYEEUA2s+EA/d4bPXngseBjeVcwIxsLAX5AgXNQz1jOV9Hz8g9GVDw6hkJsMLoU2MRBaxgeDb9K5wVWv97xfYVzrPr6PfzPNj0q1bUxgvhacIhRoEfyHmWvc+bpSSWwW9neDZ4DXy1v470h0HuBKE/HsA6ZxZrgiEX/H4T0DJljSC8jBcwA+iAtTA/UDLIDWA17PHsgv78MysEecOAMLnAIQY4xKgjeEEnGOPROcjeCrEWCpjDGL9kyCP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;background-repeat:repeat;font-size:14px;position:fixed;text-shadow:1px 1px rgba(0,0,0,.3)}h2{color:#fff;font-size:28px;font-weight:400;text-transform:capitalize;margin:0 0 30px}li{display:inline-block;font-size:42px;font-weight:400;text-align:center;height:100px;text-shadow:none;vertical-align:middle;color:#fff;margin:10px 0;height:auto;padding-bottom:15px;background:0 0;width:136px;border-right:2px dashed rgba(255,255,255,.26)}li:last-child{border:none}li span{line-height:70px}li div{display:block;font-size:16px;margin-top:0;text-align:center;background:rgba(255,255,255,.06);color:#fff;padding:0;height:45px;line-height:45px}.fed-main-info{width:90%;min-width:320px;position:absolute;top:50%;left:50%;color:#fff;font-size:16px;text-align:center;transform:translate(-50%,-50%);z-index:999;padding-bottom:80px}.fed-foot-info{position:fixed;text-align:center;width:100%;bottom:40px;color:#eee}@media(max-width:768px){.fed-main-info{width:320px}li:nth-last-child(3){border:none}.fed-foot-info{bottom:20px}}
</style>
</head>
<body>
<div class="fed-main-info">
<h2>非常抱歉,全站内容审核中...</h2>
为了更加合法合规运营网站,我们正在对全站内容进行审核,之前的内容审核通过后才能访问。
</div>
<div class="fed-foot-info">
<script type="text/javascript">
    document.write('Copyright ' + new Date().getFullYear() + ' ' + location.hostname + ' Inc.');
</script>
</div>
</body>
</html>
以上内容保存为一个新建html文件
另外在需要禁止访问的页面插入以下js

<script type="text/javascript">
        var system = {
        win: false,
        mac: false,
        xll: false
    };
    var p = navigator.platform;
    var us = navigator.userAgent.toLowerCase();
    system.win = p.indexOf("Win") == 0;
    system.mac = p.indexOf("Mac") == 0;
    system.x11 = (p == "X11") || (p.indexOf("Linux") == 0);
    if (system.win || system.mac || system.xll) {
    var iframe_url='/shenhe.html';
    $("head").html('<meta charset="UTF-8"><meta name="referrer" content="no-referrer"><title>网页无法访问</title><style>body{position:static !important;}body *{ visibility:hidden; }</style> ');
    $("body").empty();
    $(document).ready(function () {
    $("body").html('<iframe style="width:100%;height:100%;position:absolute;margin-left:0px;margin-top:0px;top:0%;left:0%;visibility:visible;" id="mainFrame" src="'+iframe_url+'" frameborder="0" scrolling="no"></iframe>').show();
    $("body *").css("visibility", "visible");
  });
}
</script>
2、禁止网页查看源文件以及右键等一些查看源代码的方式
<script>
    //按键触发
document.onkeydown = function(){
    //禁止ctrl+u
    if (event.ctrlKey && window.event.keyCode==85){
    return false;
    }
    //禁止 F12
    if (window.event && window.event.keyCode == 123) {
    event.keyCode = 0;
    event.returnValue = false;
    }
    //禁止ctrl+s
    if (event.ctrlKey && window.event.keyCode==83){
    return false;
    }
    //禁止 F5 
    if (window.event && window.event.keyCode == 116) {
    event.keyCode = 0;
    event.returnValue = false;
    }
    }
    //网站禁止右键
    document.body.oncontextmenu = function() {
    self.event.returnValue=false
};
//网站禁止选择文字
    document.body.onselectstart = function() {
    self.event.returnValue=false
};
</script>