Signed up just to respond to this. My brother has a 14" M1Pro and HDR is working on his laptop. I have a new 16" M1Max, and for me HDR doesn't work without the user agent trick. I've been reading the threads past and have observed a trend of this not working at all on 16" M1Maxes, and working (somewhat) on 14" M1 Pros..
The 14/16" might be a coincidence, but what if this is caused by M1Pro vs M1max?
A few observations:
1) I analyzed default user agent strings on both laptops, and it appears the strings are identical across both laptops
2) HDR works properly in AppleTV, but not on browsers
3) The user agent trick works with Windows (Chrome or FF both work under Windows)
4) IIRC, HDR was working perfectly on safari upon first delivery of the laptop. Updating to 12.0.1 was what broke this.
5) I tried a system reset using the apple silicon method and it appears it retains the latest update as the reset point, so I wasn't able to revert back to 12.0 in order to validate the above.
Wonder what you guys think.