博客园 - EtherDream
uuid:7d267088-5232-4821-9010-8cd5fdd6cd4f;id=1075994
2024-02-02T03:54:19Z
EtherDream
https://www.cnblogs.com/index-html/
feed.cnblogs.com
https://www.cnblogs.com/index-html/p/masquerading-custom-functions-as-native-functions.html
前端黑魔法 —— 如何让自己的函数变成原生函数 - EtherDream
如何让自己的 JS 函数变成原生函数
2023-08-07T03:07:00Z
2023-08-07T03:07:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】如何让自己的 JS 函数变成原生函数 <a href="https://www.cnblogs.com/index-html/p/masquerading-custom-functions-as-native-functions.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/hide-request-initiator.html
前端黑魔法 —— 隐藏网络请求的调用栈 - EtherDream
使用 JS 原生回调触发网络请求,可隐藏调用栈
2023-08-06T05:31:00Z
2023-08-06T05:31:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】使用 JS 原生回调触发网络请求,可隐藏调用栈 <a href="https://www.cnblogs.com/index-html/p/hide-request-initiator.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/inject-js-into-a-gzipped-html-without-decompressing.html
HTTP 网关 GZIP 页面零开销注入 JS - EtherDream
不解压 gzip 流量的情况下往 html 中注入 js 代码
2023-06-06T11:28:00Z
2023-06-06T11:28:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】不解压 gzip 流量的情况下往 html 中注入 js 代码 <a href="https://www.cnblogs.com/index-html/p/inject-js-into-a-gzipped-html-without-decompressing.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/js-screen-size-api.html
浏览器窗口尺寸相关的 API 整理图 - EtherDream
浏览器中和窗口尺寸相关的 API 整理
2022-08-05T09:48:00Z
2022-08-05T09:48:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】浏览器中和窗口尺寸相关的 API 整理 <a href="https://www.cnblogs.com/index-html/p/js-screen-size-api.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/js-anti-breakpoint.html
如何让 JS 代码不可断点 - EtherDream
通过内置回调执行原生函数,调试器是无法断点的
2022-08-04T09:18:00Z
2022-08-04T09:18:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】通过内置回调执行原生函数,调试器是无法断点的 <a href="https://www.cnblogs.com/index-html/p/js-anti-breakpoint.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/js-str-to-gbk-ultra-lite.html
JS 字符串转 GBK 编码超精简实现 - EtherDream
JS 字符串转 GBK 编码超精简实现,几十行代码,压缩后几百字节。
2022-08-03T08:22:00Z
2022-08-03T08:22:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】JS 字符串转 GBK 编码超精简实现,几十行代码,压缩后几百字节。 <a href="https://www.cnblogs.com/index-html/p/js-str-to-gbk-ultra-lite.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/canvas-to-bmp.html
前端性能优化 —— 使用 BMP 图片代替 canvas.toDataURL - EtherDream
canvas 导出的图片如果只在本地使用,无需使用 toDataURL 方法,直接在原始数据前加上 BMP 文件头即可使用。
2022-03-18T06:00:00Z
2022-03-18T06:00:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】canvas 导出的图片如果只在本地使用,无需使用 toDataURL 方法,直接在原始数据前加上 BMP 文件头即可使用。 <a href="https://www.cnblogs.com/index-html/p/canvas-to-bmp.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/npm-upload.html
免费 CDN 玩法 —— 文件一键上传到 NPM - EtherDream
使用文件 Hash 值作为 NPM 包版本号,无需维护每个文件的版本状态
2021-10-21T03:43:00Z
2021-10-21T03:43:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】使用文件 Hash 值作为 NPM 包版本号,无需维护每个文件的版本状态 <a href="https://www.cnblogs.com/index-html/p/npm-upload.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/js-method-functional-style.html
函数式编程 —— 将 JS 方法函数化 - EtherDream
使用函数的风格调用 JS 方法。如何做到简单且无副作用。
2021-10-13T02:29:00Z
2021-10-13T02:29:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】使用函数的风格调用 JS 方法。如何做到简单且无副作用。 <a href="https://www.cnblogs.com/index-html/p/js-method-functional-style.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/bundle-website-into-an-image.html
免费 CDN 玩法 —— 将整个网站打包成一个图片文件 - EtherDream
将整个网站打包成一张图片,运行时通过 Service Worker 解码,从而可使用图床相册作为免费 CDN。
2021-09-08T06:46:00Z
2021-09-08T06:46:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】将整个网站打包成一张图片,运行时通过 Service Worker 解码,从而可使用图床相册作为免费 CDN。 <a href="https://www.cnblogs.com/index-html/p/bundle-website-into-an-image.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/indent-bomb.html
代码缩进爆炸攻击 - EtherDream
代码嵌套几百个 if(...)if(...)if(...)if(...)if(...) 会怎样?
2021-08-20T10:53:00Z
2021-08-20T10:53:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】代码嵌套几百个 if(...)if(...)if(...)if(...)if(...) 会怎样? <a href="https://www.cnblogs.com/index-html/p/indent-bomb.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/service-worker-ddos-mitigation.html
使用 Service Worker 缓解网站 DDOS 攻击 - EtherDream
利用 Service Worker 离线化特性,即使服务器被打垮,浏览器也能通过备用站点加载并更新
2021-08-13T03:44:00Z
2021-08-13T03:44:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】利用 Service Worker 离线化特性,即使服务器被打垮,浏览器也能通过备用站点加载并更新 <a href="https://www.cnblogs.com/index-html/p/service-worker-ddos-mitigation.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/http-cache-hotfix.html
如何热更新长缓存的 HTTP 资源 - EtherDream
如何通过 JS 热更新 HTTP 缓存
2021-07-22T06:06:00Z
2021-07-22T06:06:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】如何通过 JS 热更新 HTTP 缓存 <a href="https://www.cnblogs.com/index-html/p/http-cache-hotfix.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/img-webp-avif.html
网站图片无缝兼容 WebP/AVIF - EtherDream
根据浏览器版本,图片自动返回 AVIF、WebP 或传统格式
2021-07-15T05:12:00Z
2021-07-15T05:12:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】根据浏览器版本,图片自动返回 AVIF、WebP 或传统格式 <a href="https://www.cnblogs.com/index-html/p/img-webp-avif.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/js-port-knocking.html
JS 端口敲门探索 - EtherDream
基于网页实现的各种敲门方案
2021-07-15T05:00:00Z
2021-07-15T05:00:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】基于网页实现的各种敲门方案 <a href="https://www.cnblogs.com/index-html/p/js-port-knocking.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/iptables-anti-port-scan.html
使用 iptables 拦截端口扫描 - EtherDream
使用 iptables 拦截端口扫描
2021-07-15T04:46:00Z
2021-07-15T04:46:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】使用 iptables 拦截端口扫描 <a href="https://www.cnblogs.com/index-html/p/iptables-anti-port-scan.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/web-frontend-magic.html
收集近几年的 Web 前端黑魔法 - EtherDream
整理了一些前端黑魔法
2021-07-15T04:44:00Z
2021-07-15T04:44:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】整理了一些前端黑魔法 <a href="https://www.cnblogs.com/index-html/p/web-frontend-magic.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/js-functional-programming-example.html
JS 函数式编程案例 - EtherDream
JS 函数式编程案例
2021-07-15T04:42:00Z
2021-07-15T04:42:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】JS 函数式编程案例 <a href="https://www.cnblogs.com/index-html/p/js-functional-programming-example.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/call-empty-function-failed.html
JS 调用一个空函数有可能报错吗 - EtherDream
JS 调用一个空函数有可能报错吗
2021-07-15T04:38:00Z
2021-07-15T04:38:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】JS 调用一个空函数有可能报错吗 <a href="https://www.cnblogs.com/index-html/p/call-empty-function-failed.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/index-html/p/unlimited-bandwidth-site-5.html
低成本打造一个带宽无限的网站 —— No.5 免费空间的挖掘 - EtherDream
5
2021-07-15T04:34:00Z
2021-07-15T04:34:00Z
EtherDream
https://www.cnblogs.com/index-html/
【摘要】5 <a href="https://www.cnblogs.com/index-html/p/unlimited-bandwidth-site-5.html" target="_blank">阅读全文</a>