Comments (6)
点击后有报错信息吗?现在暂时不方便调试。
from hexo-theme-cards.
测试了 你的博客、Demo 和 我的博客,都无法切换
更换点击事件的写法也没用,猜测是 localStorage
方面的问题
from hexo-theme-cards.
没有报错信息
from hexo-theme-cards.
看看是不是 Firefox 隐私策略阻止了 LS 的读写?Firefox 隐私保护一直比较激进。
from hexo-theme-cards.
嗯....,不太确定,我对网页单独关闭了保护,但还是失效。
不过我试了一个同样通过 LS 进行控制的博客,也一样的失效了 https://hexo.fluid-dev.com
from hexo-theme-cards.
应该可以确认了,不是 LS 的问题,https://a9m5yn.coding-pages.com 这是我之前用过的一个比较简单的暗黑模式切换,在 Firefox 中能正常切换
from hexo-theme-cards.
Related Issues (20)
- 1.3.0版本生成报错 HOT 1
- 在首页中,如果文章<!-- more -->前面的内容有图片的显示,则图片会显示不出来
- 在首页中,如果文章<!-- more -->前面的内容有图片的显示,则图片会显示不出来 HOT 2
- zh-CN.yml 和 zh-TW.yml 参数有误 HOT 1
- 是否考虑加入图片查看器功能
- pjax 可以提升加载速度吗,如果可以的话后面是否会支持 HOT 2
- 表格不居中 HOT 2
- 支持更多评论系统 HOT 5
- 颜色设置似乎有 bug HOT 5
- 一些建议 HOT 1
- Twikoo 评论不加载 HOT 2
- 修改站点根路径,主题渲染页面不更改
- 能把作者博客的版本开源吗 HOT 2
- iOS Safari Compatibility Problem HOT 5
- Github page 构建报错 HOT 1
- 添加代码复制功能 HOT 1
- Vendor中的示例note css不存在? HOT 1
- 移动端文章目录展开后无法收起 HOT 1
- 主题色修改不生效 HOT 4
- 代码块没有背景
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-cards.