码迷,mamicode.com
首页 > 其他好文 > 详细

cdn节点自定义防CC代码在哪里抄

时间:2018-04-08 15:54:54      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:登陆   html   content   continue   gpo   blog   res   ref   live   

1. 登陆节点的3311后台

技术分享图片

 

技术分享图片

1. http redirect

HTTP/1.1 302 FOUND
Connection: keep-alive
Location: {{url}}

<html><body><a href="{{url}}">continue</a></body></html>

2. html redirect

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><head><meta http-equiv="refresh" content="0;url={{url}}"></head><body><a href="{{url}}">continue</a></body></html>

3. js plain

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body><script language="javascript">window.location="{{url}}";</script><a href="{{url}}">continue</a></body></html>

4. js concat

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body><script language="javascript">window.location="{{murl}}";</script></body></html>

5. js revert

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body><script language="javascript">{{revert:url}};window.location=url;</script></body></html>

6. html manual

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body><a href="{{url}}">continue</a></body></html>

7. deny

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-Control: no-cache,no-store

<html><body>try again later</body></html>

 

cdn节点自定义防CC代码在哪里抄

标签:登陆   html   content   continue   gpo   blog   res   ref   live   

原文地址:https://www.cnblogs.com/kangleweb/p/8744961.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!