index.html 440 B

123456789101112131415
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. </head>
  6. <body>
  7. <script>
  8. if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
  9. location.replace('/h5.html' + location.search + location.hash)
  10. } else {
  11. location.replace('/pc.html' + location.search + location.hash)
  12. }
  13. </script>
  14. </body>
  15. </html>