Modify the `enwikimwclientpreferences` cookie once per session, to instantly set preferences, and change classes, so no reload is required.
目前為
Modifies the "enwikimwclientpreferences" cookie and updates certain class names on Wikipedia pages to apply custom preferences and themes. Runs once per session to avoid repeated changes.
Currently, it defaults to dark theme, wide view, and small font. This can be changed by the numbers in the preference flags, both for cookies and classes.
In the future, I plan to make the preferences more clearly customizable in the script.
I also plan to implement syncing with the non-incognito user preferences, and make it possible to sync the modification to the preferences made in the website's interface, by saving them to the script local storage.