What happens when JavaScript is executed

JavaScript™ execute discovers URLs and other content for analysis and reporting that might otherwise go unnoticed because they are dynamically added to the page. Links, additional content and cookies might be dynamically added to a page. The content scan can only find this dynamic content by executing the JavaScript.

Using the Execute JavaScript option provides more accurate results than the Parse JavaScript option, but it does so at a price because it increases the duration of the scan. Executing JavaScript is accurate because it eliminates the possibility of incorrectly constructed URLs. Relative URLs are treated as relative to the file being checked. The location of the page containing the reference to the JavaScript file is immaterial.