1. The document discusses using Chrome Developer Tools and static code analysis to detect untrusted JavaScript. It describes profiling JavaScript execution in web apps using the Chrome Developer Tools Profiles Panel and analyzing JavaScript code statically to detect suspicious URLs. 2. The Chrome Developer Tools allows debugging JavaScript, identifying performance issues, and understanding memory usage. The CPU Profiling feature logs information about JavaScript function names, URLs, time metrics, and call hierarchies. 3. Static code analysis of JavaScript uses a Wget command line tool to parse code and look for external URLs, which are categorized and logged to a testing database.