Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript mobile redirect

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #38296
    Gooch
    Member

    Hello. I came across a sample JS for redirecting mobile traffic from a main site to a mobile site in the “snippets” section of this site so I thought I’d ask my question here. I’m trying to implement the code, or a modification of it and can’t seem to get it working.

    Here are 2 things I’ve tried based on what I’ve found. I want to redirect the traffic but if the users click a link to go back to the main site, from the mobile site, I need them to not get stuck in a loop. Neither of these actually sent the mobile traffic over period so i’m unsure if method to stop the loop works.

    also tried this,

    Anyone have any insight? Thanks!

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.