Different Script on mobile vs Desktop

@nevin where are you trying to add this code? I do not see it on the page you linked to…you could always try to inject it in the Edit JS+CSS following this pattern: Add or Insert a Script Tag with Builder

Otherwise are you adding these scripts as a custom code block on the page?

Finally, what exactly is this script trying to accomplish? Is it possible we could accomplish the same results through other means?