Closing game locks up my browser

Guest shared this problem 4 years ago

I am using firefox (whatever update was before today's release). When I am finished playing and close the tab, a script keeps running that locks up the browser. A pop-up prompt asking if I want to stop the script or keep it running appears, and I have to stop it that way. If I miss it, the script continues and crashes firefox.