Method using agents to check if JavaScript is enabled?

Is there a way using agents to check if JavaScript is enabled in a browser? @BrowserInfo returns whether a browser supports JavaScript but not if it’s enabled. I need to do this in WebQueryOpen in order to display the appropriate form based on JavaScript availability.