The point of the article, which I hope you did in fact read, is that some sites force dark mode on the user, so "just use whatever setup you prefer" doesn't work.
This is particularly hard now when many sites use images of program code in order to get syntactic highlighting, because your page rewriting extensions do nothing.