宝塔防火墙拦截页面代码模板2

宝塔防火墙拦截页面代码模板2

在这里插入图片描述

防火墙代码

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>云防御</title>
 <style>
 *{
        margin: 0;
        padding: 0;
        font-family: Microsoft YaHei;
        box-sizing: border-box;
 }
    html,body{
        width: 100%;
        height: 100%;
		margin: 0;
		padding: 0;
 }
    body{
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-image: url();
 }
 .main{
        width: 99%;
        padding-top: 10%;
 }
 .main .content{
        margin: 0 auto;
        padding-top: 5%;
        text-align:center;
 }
 .main p{
        color: #666666;
        font-size: 18px;
        margin-bottom: 6px;
 }
 .button{
        font-size: 0;
        margin:20px auto 0;
 }
 .button a{
        display: inline-block;
        line-height: 50px;
        height: 50px;
        width: 220px;
        text-align: center;
        background: #008DFF;
        color: #ffffff;
        text-decoration: none;
        font-size: 18px;
        margin-left: 10px;
        border-radius:5px;
 }
 .button a:visited{
        color: #ffffff;
 }
 .button a:hover{
        background: #07A1FF;
 }
 .footer{
        width: 100%;
        color:#666666;
        font-size:14px;
        position: absolute;
        bottom: 30px;
 }
 .footer .content{
        padding-left: 15%;
 }
 .footer p{
        margin-bottom: 5px;
        word-wrap: break-word;
        word-break: break-all;
 }
 .event{text-align:center;width:100%;margin:0 auto 20px;color:#18b9d6;}
 .event p{text-align:center;color:#18b9d6;}
 .statusCode {width: 316px;height:117px;margin-left: auto;margin-right: auto;background: url();}
 </style>
</head>
<body>
 <div class="main">
 <div class="statusCode"></div>
 <div class="content">
 <div class="event">

 </div>
 <p>检测到敏感词,已被云防护拦截!</p>
 <div class="button">
 <a href="javascript:goHome()">返 回</a>
 </div>
 </div>
 </div>
 <div class="footer">
 <div class="content">
 <div>


 </div>
 </div>
 </div>

 <script  type="text/javascript">
 function goHome(){
            window.location="/";
 }
 function HTMLEncode(html)
 {
 var temp = document.createElement ("div");
 (temp.textContent != null) ? (temp.textContent = html) : (temp.innerText = html);
 var output = temp.innerHTML;
            temp = null;
 return output;
 }
        document.getElementById("wurl1").appendChild(document.createTextNode(HTMLEncode(location.href)));
 </script>
</body>
</html>
代码:https://www.httple.net/76023.html
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

云博客-资源宝

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值