JAVASCRIPT-PC version Jump M version ok, but the M version of the PC version of the link can not be stopped in the PC version

Source: Internet
Author: User
Keywords Javascript php html html5
PC version of the M-version OK, but the M-point PC version of the link can not be stopped in the PC version or skip to the M version
The following is the PC-side code in the

   

The following is the code in the M version of head

How can I browse the PC version when I link to the PC version of M-point?

Reply content:

PC version of the M-version OK, but the M-point PC version of the link can not be stopped in the PC version or skip to the M version
The following is the PC-side code in the

   

The following is the code in the M version of head

How can I browse the PC version when I link to the PC version of M-point?

Can be in the jump to the mobile or PC station to pass a specific parameter, of course, if you want to each page will not jump past, then you can get this parameter, put him into a cookie, and then use JS to identify and judge.
There is also the use of back-end technical assistance can be.
I don't know if I can help you.

PC version do not judge whether to move the end of it.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.