I do not disbelieve you. But something different on your computer setup than here. Something. Getting to the root of that seems the first priority. That is why I quoted version numbers. And, further information–I rebooted a few days ago and did this test with macOS Safari.
Intriguing. I use DT 3.9.6 on macOS 14.5. When I clip from Firefox to DT as a web archive and then open the archive in DT, I get the print dialog. The same thing happens when I clip from Chrome and Safari.
In addition, the saved archive looks very different from the original site:
which explains the behavior: As soon as the document finished loading, the script runs and calls the window.print() method. Which consequently opens the print dialog.
This script does not seem (!) to be present in the original discourse page. I have no idea why it would be in the web archive but not in the original. Perhaps @cgrunenberg knows.
im using basically the same setup with you, but clipped from chrome. but i do have to say this issue is not very consistent, just more often than it should be.
In case of our forum DEVONthink clips the print layout which is less bloated. However, the latest Discourse updates changed the print handling and the next release of DEVONthink will strip this again.
very enlightening. though i have zero knowledge on codes, but this means this issue is specific to this site right? i tested on a few other sites, it matches this conclusion.