| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8" />
-
- <!-- Favicon -->
- <link rel="icon" type="image/png" href="/icons/icon-192x192.png" />
- <link rel="apple-touch-icon" href="/icons/icon-192x192.png" />
-
- <!-- 基础 Meta -->
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes" />
- <meta name="description" content="Junma Show - 在线视频播放平台,提供高质量视频内容" />
- <meta name="keywords" content="视频,在线播放,视频平台,Junma Show" />
- <meta name="author" content="Junma Show" />
-
- <!-- PWA Meta -->
- <meta name="theme-color" content="#10b981" />
- <meta name="mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
- <meta name="apple-mobile-web-app-title" content="Junma Show" />
-
- <!-- iOS Safari 优化 -->
- <meta name="format-detection" content="telephone=no" />
- <meta name="apple-touch-fullscreen" content="yes" />
- <meta name="apple-mobile-web-app-orientations" content="portrait" />
-
- <!-- 防止iOS Safari缩放 -->
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
-
- <!-- Manifest -->
- <link rel="manifest" href="/manifest.json" />
-
- <!-- Open Graph / Facebook -->
- <meta property="og:type" content="website" />
- <meta property="og:title" content="Junma Show" />
- <meta property="og:description" content="在线视频播放平台" />
- <meta property="og:image" content="/icons/icon-512x512.png" />
-
- <!-- Twitter -->
- <meta name="twitter:card" content="summary_large_image" />
- <meta name="twitter:title" content="Junma Show" />
- <meta name="twitter:description" content="在线视频播放平台" />
- <meta name="twitter:image" content="/icons/icon-512x512.png" />
-
- <title>Junma Show - 在线视频播放平台</title>
-
- <!-- 防止返回一级域名的脚本(必须在页面加载的最早时机执行) -->
- <script>
- (function() {
- // 检查是否从一级域名跳转过来(通过 URL 参数判断)
- var urlParams = new URLSearchParams(window.location.search);
- var superDomainParams = ['ref', 'code', 'memberCode', 'iv'];
- var isFromSuperDomain = false;
-
- for (var i = 0; i < superDomainParams.length; i++) {
- if (urlParams.has(superDomainParams[i])) {
- isFromSuperDomain = true;
- break;
- }
- }
-
- // 如果是从一级域名跳转过来,立即处理历史记录
- if (isFromSuperDomain) {
- var currentUrl = window.location.href;
-
- // 立即替换当前历史记录,移除一级域名的记录
- // 这必须在页面加载的最早时机执行,在 Vue 应用启动之前
- if (window.history && window.history.replaceState) {
- // 替换历史记录
- window.history.replaceState(null, '', currentUrl);
-
- // 检测是否为移动设备(特别是 iOS Safari)
- var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
- navigator.userAgent
- );
-
- // 对于移动设备,添加大量历史记录条目,确保无法返回到一级域名
- // 对于PC设备,也添加多个条目
- var pushCount = isMobile ? 50 : 20;
- for (var j = 0; j < pushCount; j++) {
- if (window.history && window.history.pushState) {
- window.history.pushState(null, '', currentUrl);
- }
- }
- }
- }
- })();
- </script>
-
- <!-- 友盟统计 CNZZ -->
- <script>
- var _czc = _czc || [];
- (function () {
- var um = document.createElement("script");
- um.src = "https://s4.cnzz.com/z.js?id=1281451689&async=1";
- var s = document.getElementsByTagName("script")[0];
- s.parentNode.insertBefore(um, s);
- })();
- </script>
- </head>
- <body>
- <noscript>
- <div style="text-align: center; padding: 50px; font-family: sans-serif;">
- <h1>需要启用 JavaScript</h1>
- <p>此应用需要 JavaScript 才能运行,请在浏览器设置中启用 JavaScript。</p>
- </div>
- </noscript>
- <div id="app"></div>
- <script type="module" src="/src/main.ts"></script>
- </body>
- </html>
|