How to understand the redirect url is Javascript redirection or not using chrome DevTools protocol

I currently writing a script where i will collect all the network request from a website and analysis the redirect chain. But I am stuck in the to find javascript redirect.

enter image description here

In the attached image first two url is HTTP 302 and then two url is HTTP 200, Here HTTP 200 status got js redirect. If i use a chrome extension tools link redirect trace then are telling this is JS redirect.

enter image description here

In the attached image this extension confidently telling this HTTP status is 200 but is js redirect..

My question is how they understand this is javascript redirect. Any suggestion will be appriciated.

I try with check header and other but in the response header nothing found that can detect JS redirect. Hope someone can help me to sort it.