I was too lazy to create an interface so all interaction with the script takes place through the console.
- Inject script. (for example using Tampermonkey)
- Open the console in browser (F12)
- Write
sonixParser.getSRT();
- Copy text from the console and save as .srt in text editor
sonixParser.getSRT({