You could create any type of script to parse out the <script> tags through regular expressions. Install PHP on the local machine and run scripts through the command line.
...