https://pricespetwarmingpads.blogspot.com/2023/07/javascript-in-delphi-twebbrowser.html
Javascript In Delphi Twebbrowser, Closing Threads