• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Loading a .jsp script just when not on mobile?


Active member

I have tried just about everything to load this script
<script src="http://site.com/show.jsp?id=2125&ear=005F00"></script>
just when the user is not on a mobile device. I can't do it. Is it even possible?

I'm looking for something like the following piece of code which does not work for this
  <xen:if is="@enableResponsive">
    @media (max-width:@maxResponsiveNarrowWidth)
              display: none;
Last edited: