XF 1.1 Style redirect without confirmation

I have some like this in a subdomain for redirect to a mobile style:
header("Location: http://mydomain.com/misc/style?style_id=2");
Is there any way to skip the confirmation?
Please confirm that you would like to change to the following style:

I see a _xfToken in the URL when I confirm:
Has this token an expiration date?
I can use it in the php code of above?

PD: Sorry, my english sucks :confused: