From 679188c550f305e0fa7ac43f080ec1fbabaed5bd Mon Sep 17 00:00:00 2001 From: Fritz Lin Date: Mon, 10 Oct 2022 18:40:13 +0800 Subject: [PATCH] use history.pushState & adapt comments --- README.md | 5 +- blog/index.html | 3 + blog/p/projects/silent_2.0/README.md | 5 +- blog/vendor/blog.js | 89 ++++++++++++++++++++++------ 4 files changed, 83 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 5760c2e..7215320 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,11 @@ for silent 1.0, check [this](https://github.com/fritx/silent/tree/v1) out -### Security & Stability +### Security & Stability & Performance - [x] responsive design +- [x] prefer history.pushState api +- [ ] fallback on browser compatibility break - [ ] IE 6+ support (needs polyfill, etc) @@ -93,6 +95,7 @@ Status: no IE - [ ] no IE https://caniuse.com/?search=arr%20includes - [ ] no IE https://caniuse.com/?search=str%20includes - [ ] IE10+ https://caniuse.com/?search=console +- [ ] IE10+ https://caniuse.com/?search=pushstate - [ ] IE9+ https://caniuse.com/?search=object.keys - [ ] IE9+ https://caniuse.com/?search=arr%20foreach - [ ] IE9+ https://caniuse.com/?search=querySelector diff --git a/blog/index.html b/blog/index.html index 89f9185..fa36e0f 100644 --- a/blog/index.html +++ b/blog/index.html @@ -71,7 +71,10 @@ gtag('js', new Date()); gtag('config', 'G-ZY8VWXQSC8'); --> + + +