I use gifjs to generate a lot of gifs from png/jpg files once user logins success. At same time, I want to change the
location.url to direct user to my website main page. But the problem is that the web worker task stopped once the url is changed. So how to execute web worker task continuously even though the location url is redirect?