PageSourceSearch

https://liufeng2915.github.io/assets/js/dark_mode.js

js liufeng2915.github.io collected 2026-10-03 09:31:24 UTC 223 bytes, 7 lines download raw bytes

1$(document).ready(function() {
2    const mode_toggle = document.getElementById("light-toggle");
3
4    mode_toggle.addEventListener("click", function() {
5        toggleTheme(localStorage.getItem("theme"));
6    });
7});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.