---
title: "Max (@maxsheridan) | Hashnode"
description: "Max (@maxsheridan) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@maxsheridan"
---

@maxsheridan

# Max

@maxsheridan · Joined February 2025

## Comments

[This is a great approach. It's the only one I've tried that's actually worked. I just wanted to add one thing. For mobile bf cache, I added a pageshow event listener to the deferred section of script so that the preference would persist. Without it, it wasn't — at least on Android Chrome and Firefox. Thanks again for the awesome tutorial!](https://hashnode.com/posts/how-to-make-the-perfect-dark-mode-switcher/62baa636f2e6c7d70c125a7d/comment/67b307b850cb5c730d0d566a)

Comment · Article · Feb 17, 2025 · [How to Make the Perfect Dark Mode Switcher](https://hashnode.com/posts/how-to-make-the-perfect-dark-mode-switcher/62baa636f2e6c7d70c125a7d)
