Custom user agent for web browser

One of the websites I use from within DT isn’t rendering correctly. I tracked down the issue to the website doing something presumably wrong with the user agent string. I was wondering if there is a way to set the user agent for the hosted web browser DT uses. Doing it through AppleScript would be sufficient for me. Thanks.

DEVONthink is using a generic WebKit user agent which should produce the same results as Safari. Could you please post the URL so that I could check this? Thanks!

It doesn’t work with Safari either. It works with Chrome so I started playing around with Safari and found that if I changed the user agent to be the same as Chrome’s then Safari started working.

It’s actually a site that I use a login for so posting the URL wouldn’t help.