Giter VIP home page Giter VIP logo

Comments (6)

ChrAlpha avatar ChrAlpha commented on July 17, 2024

点击后有报错信息吗?现在暂时不方便调试。

from hexo-theme-cards.

jalenzz avatar jalenzz commented on July 17, 2024

测试了 你的博客、Demo 和 我的博客,都无法切换

更换点击事件的写法也没用,猜测是 localStorage 方面的问题

from hexo-theme-cards.

jalenzz avatar jalenzz commented on July 17, 2024

没有报错信息

from hexo-theme-cards.

ChrAlpha avatar ChrAlpha commented on July 17, 2024

看看是不是 Firefox 隐私策略阻止了 LS 的读写?Firefox 隐私保护一直比较激进。

from hexo-theme-cards.

jalenzz avatar jalenzz commented on July 17, 2024

嗯....,不太确定,我对网页单独关闭了保护,但还是失效。

不过我试了一个同样通过 LS 进行控制的博客,也一样的失效了 https://hexo.fluid-dev.com

from hexo-theme-cards.

jalenzz avatar jalenzz commented on July 17, 2024

应该可以确认了,不是 LS 的问题,https://a9m5yn.coding-pages.com 这是我之前用过的一个比较简单的暗黑模式切换,在 Firefox 中能正常切换

image

from hexo-theme-cards.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.