摘要: 前提是服务器IP没有暴露 开始前先关闭所有之前设置的 WAF - 防火墙规则/速率限制规则/托管规则/工具,以及包含安全性的页面规则!因为在这些可能会影响到下面的规则优先级(如果之前没有设置过可以忽略) 1. 安全性 - 设置 - 安全级别设置为:高可以打开I'm Under Attack!我受到攻 阅读全文
posted @ 2023-05-31 14:42 楼前竹 阅读(1791) 评论(0) 推荐(0) 编辑
摘要: 什么是HSTS,为什么要使用它? https://zhuanlan.zhihu.com/p/130946490 网站加速:https://iymark.com/articles/3991.html 阅读全文
posted @ 2023-05-22 17:24 楼前竹 阅读(14) 评论(0) 推荐(0) 编辑
摘要: function buildTree(array $flat, $pidKey = 'pid', $idKey = 'id', $childrenKey = 'children') { $grouped = []; foreach ($flat as $sub) { $grouped[$sub[$p 阅读全文
posted @ 2023-04-27 09:12 楼前竹 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 一、如何使用: Lazy Load 依赖于 jQuery。引入文件 <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.lazyload.js"></s 阅读全文
posted @ 2023-04-19 18:25 楼前竹 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 为确保文本在网页字体加载期间保持可见状态,可以考虑以下几种方法: 1.使用系统默认字体或web-safe字体:这些字体通常是已经在大多数操作系统和浏览器中安装和加载的,因此在页面加载期间可以立即呈现。这样,即使自定义字体尚未加载,文本也将始终可见。 2.通过CSS实现字体预加载:可以在CSS中使用@ 阅读全文
posted @ 2023-04-19 16:30 楼前竹 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 文档地址:http://s.orangelife.com.cn/font/demo_unicode.html 阅读全文
posted @ 2022-11-16 14:56 楼前竹 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/hongmaju/p/5510988.html 1、设置或获取对象指定的文件名或路径。 window.location.pathname 例:http://localhost:8086/topic/index?topicId=361 alert( 阅读全文
posted @ 2022-11-15 16:06 楼前竹 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 在manifest.json的源码视图中添加即可: 需要哪些就增加哪些 获取两个getLocation、chooseAddress "requiredPrivateInfos":[ "getLocation", "chooseAddress"], /* 小程序特有相关 */ "mp-weixin" 阅读全文
posted @ 2022-11-15 09:23 楼前竹 阅读(97) 评论(0) 推荐(0) 编辑
摘要: https://mpa.51.la/doc/xiao-cheng-xu-sdk-jie-ru-zhi-nan.htmlmpa-stat-config.js文件:exports.appKey = '7********6' // 请在此行填写从51LA小程序统计后台获取的appkey exports.i 阅读全文
posted @ 2022-11-15 09:20 楼前竹 阅读(299) 评论(0) 推荐(0) 编辑
摘要: position: fixed;属性在IOS系统手机上会有很明显的抖动,解决方式: 只需要在中间部分外层div添加css样式position:fixed;top:50px; bottom:50px;overflow:scroll;就可以实现效果,无需插件。 让顶部和底部固定不动的DIV和中间内容部分 阅读全文
posted @ 2022-11-11 18:04 楼前竹 阅读(167) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示