HOW can I enable the javascript on response view
JavaScript is automatically enabled for all responses. The JavaScript you put into “test” panel for each request is executed for each response, and the results are displayed as Test Results", or via the “Visualize” tabs for the response.
See Test Script and Visualizer in the Postman Learning Center for more.
Adding to @kinlane’s answer, that you can utilize the visualizer in order to get JS running but that’ll require some tweaking to achieve it.
Also, I am guessing you want to enable javascript in the “Preview” mode, but that has been intentionally blocked due to sandbox restrictions and security concerns, so JS won’t be executed there hence your noscript
tags will be getting displayed (if they exist).
I am sorry but the answer does not solve the issue, it is general info