03 2022 档案

摘要:location /portal { set $flag 0; if ( $request_uri ~* "/portal/r/uf" ) { set $flag "${flag}1"; } if ($http_x_forwarded_for !~ ^(192.168.3.100|123.123.1 阅读全文
posted @ 2022-03-31 15:16 秃头的铲屎官 阅读(62) 评论(0) 推荐(0) 编辑
摘要:1、判断是否是企业微信 if(/MicroMessenger/.test(navigator.userAgent)){...} 2、判断是否是手机端的企业微信 if(!(/WindowsWechat/.test(navigator.userAgent)) && (/MicroMessenger/.t 阅读全文
posted @ 2022-03-29 14:16 秃头的铲屎官 阅读(675) 评论(0) 推荐(0) 编辑
摘要:一、使用postMessage在irfame中实现跨域数据传递 1、父页面内容 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <h1>主页面</h1> <iframe id="c 阅读全文
posted @ 2022-03-10 15:20 秃头的铲屎官 阅读(12498) 评论(0) 推荐(1) 编辑
摘要:-webkit-touch-callout:none; /*系统默认菜单被禁用*/ -webkit-user-select:none; /*webkit浏览器*/ -khtml-user-select:none; /*早期浏览器*/ -moz-user-select:none;/*火狐*/ -ms- 阅读全文
posted @ 2022-03-10 10:58 秃头的铲屎官 阅读(40) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示