- Copy code from code.js
- Create new bookmark in your browser window. basic how to
- Edit bookmark if the edit window did not automatically open (typically right click will give the option to edit)
- paste the code from code.js into the URL section and save
While in the ship controls of an undocked ship in an Asteroid Field click the bookmark you created. This will automatically prompt you to download the generated csv file.
This will likely only work in a desktop environment, does not appear to work on mobile (though you are welcome to try)
I don't typically use Javascript so the code is probably not ideal, but it does exactly what I needed it to. The code has been made readable and commented in PrettyCode