I’ve never done this but some idea’s that may help:
I guess you’d need to look for a chrome option to disable javascript (ecmascript?), I know there are examples in this forum on how to pass chrome options when you launch the browser, I did a little search for this but didn’t find any option for it
In my searching above I did find this page (https://www.howtogeek.com/663569/how-to-disable-and-enable-javascript-on-google-chrome/) Under the heading " Allow or Block JavaScript on Specific Sites" there is the URL Chrome://settings/content/javascript you could try navigating to this url in chrome and try clicking the Add button to add your site if those setting screens are html you might have some success with that