• 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?

dieg0

Active member
#1
Hello,

I have tried just about everything to load this script
Code:
<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
Code:
  <xen:if is="@enableResponsive">
    @media (max-width:@maxResponsiveNarrowWidth)
    {
          #GoogleSearch
          {
              display: none;
          }
    }
    </xen:if>
 
Last edited: