override theme selection on native browser darkmode change. Basic Idea from Reddit Auto Dark Mode.
当前为
I like light themes during daylight and dark themes during night.
Basic Idea from Reddit - Auto Device Theme - https://greasyfork.org/en/scripts/416952-reddit-auto-device-theme
Script overrides user profile theme depending on native browser DarkMode setting.
Not working in forum.novelupdates.com.
Only selection toggle of main page working.
If admins of novelupdates are seeing this. Two plugin recommendations.
For the mainpage "WP Dark Mode"
https://wordpress.org/plugins/wp-dark-mode/
and for the Forum - "[TH] Style Switch - Xenforo 2 1.0.0"
https://xenvn.com/threads/th-style-switch-xenforo-2.329/
GM_setValue, GM_getValue used to save user style selection during standard/dark mode