XF 1.4 Hide a certain code from mobile devices


Well-known member
Hello there.

I have one piece of code that spawns a script that is not supposed to be used on mobile devices.
So i have this difficulty, how do i on a template make sure that code will not be loaded on mobile devices.

Any help?