Get profile user in login.html page

Hello, I use hotspot with profiles (block, and others). I need get profile users in login.html page. Exemplo:

$(if profile==block)dst=blocked.html$(endif) How to this in mikrotik 3.13?

I think that it is not possible to get profile into the login page.

I need get profile. I’m making profiles to block same users. I make this with javascript in login.htlm page. When it’s get profile=block, the dst=$(login-orig) change for dst-block.html.

Someone help me