requires phantomjs (apt-get install phantomjs or brew install phantomjs)
usage: js404.py [-h] [-o output] [-u URL] [-w url_list] Check for misspelled or expired external JS calls optional arguments: -h, --help show this help message and exit -o output Output file to write to -u URL Single URL to scan -w url_list A file containing multiple URLs to scan
python js404.py -u http://localhost/index.html -o outfile thereisafroginmybidet.org <<< doesnt exist! full error: https://thereisafroginmybidet.org/woofwoof.js URL: http://localhost/index.html
will output a file only if positive results are found.