FireFox 6.0=Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2IE8(Windows XP)=Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trid ...
分类:
其他好文 时间:
2020-03-23 17:17:40
阅读次数:
110
python3+Django3 请使用 from six import python_2_unicode_compatible替代 from django.utils.encoding import python_2_unicode_compatible ...
分类:
编程语言 时间:
2020-03-21 16:34:25
阅读次数:
355
nginx根据http_user_agent防DDOS 前端squid反向代理到nginx nginx根据http_user_agent防DDOS 首先查看访问日志,找出可疑访问 找到http_user_agent 的特征,然后再作过滤 "Mozilla/4.0 (compatible; MSIE ...
分类:
其他好文 时间:
2020-03-20 12:23:16
阅读次数:
68
什么是X UA Compatible? X UA Compatible是IE8的一个专有属性,他告诉IE8采用何种IE版本去渲染网页,在html中的head标签中使用 为什么要用X UA Compatible? 在IE8刚推出的时候,很多网页由于重构的问题,无法适应较高级的浏览器,所以使用X UA ...
分类:
Web程序 时间:
2020-03-19 13:45:34
阅读次数:
81
PC端: Python莫言:https://www.cnblogs.com/Python-XiaCaiP/p/12448041.html PC_USER_AGENT = [ 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)', 'Mozilla/ ...
分类:
编程语言 时间:
2020-03-09 13:53:08
阅读次数:
117
<!doctype html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" co ...
分类:
Web程序 时间:
2020-03-05 00:53:44
阅读次数:
87
The fastest way to create a robust, cross-platform compatible Node.js CLI (optionally typed with TypeScript) is by running npx oclif single mycli. Her ...
分类:
Web程序 时间:
2020-03-01 19:53:43
阅读次数:
76
官方网站:http://nginx.org/ 一、 安装要求的环境 1、需要安装gcc的环境。 yum -y install gcc-c++ 2、第三方的开发包。 a) PCRE(Perl Compatible Regular Expressions)是一个Perl库,包括 perl 兼容的正则表达 ...
分类:
其他好文 时间:
2020-02-29 13:07:47
阅读次数:
74
实现地图输出,出发地与目的地路线,效果如下 具体代码如下 <!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="vi ...
话不多说直接上源码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" ...
分类:
Web程序 时间:
2020-02-20 16:58:37
阅读次数:
717