2023-03-21 07:56:57 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<link rel="icon" href="/favicon.ico" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<title>LP Casino 測試</title>
|
|
|
|
|
|
|
|
<!-- SmartAppBanner -->
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="theme-color" content="black">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/banner/smart-app-banner.css">
|
|
|
|
<link rel="apple-touch-icon" href="./src/assets/icon.png">
|
|
|
|
<link rel="android-touch-icon" href="./src/assets/icon.png" />
|
|
|
|
<link rel="windows-touch-icon" href="./src/assets/icon.png" />
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="./banner/smart-app-banner.js"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="app"></div>
|
|
|
|
<script type="module" src="/src/main.ts"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
|
|
<!--没有应用下载应用-->
|
|
|
|
<script>
|
|
|
|
var u = navigator.userAgent;
|
|
|
|
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;
|
|
|
|
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
|
|
|
(function () {
|
|
|
|
|
|
|
|
OnLoad();
|
|
|
|
|
|
|
|
function OnLoad() {
|
|
|
|
_clearAllCookie();
|
|
|
|
_addMeta();
|
|
|
|
}
|
|
|
|
|
|
|
|
function _clearAllCookie() {
|
|
|
|
document.cookie.split(";").forEach(function (c) { document.cookie = c.replace(/^ +/, "").replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/"); });
|
|
|
|
}
|
|
|
|
|
|
|
|
function _addMeta() {
|
|
|
|
if (isiOS) {
|
|
|
|
var headNode = document.getElementsByTagName("head")[0];
|
|
|
|
var sbNode = document.createElement('meta');
|
|
|
|
headNode.appendChild(sbNode);
|
|
|
|
run('ios');
|
|
|
|
} else if (isAndroid) {
|
|
|
|
run('android');
|
|
|
|
} else {
|
|
|
|
run('windows');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
banner = undefined;
|
|
|
|
function run(force) {
|
|
|
|
var n = document.querySelector('.smartbanner');
|
|
|
|
if (n) {
|
|
|
|
n.parentNode.removeChild(n);
|
|
|
|
}
|
|
|
|
new SmartBanner({
|
|
|
|
title: '萊博娛樂城',
|
|
|
|
author: '萊博娛樂城',
|
2023-03-21 08:18:54 +00:00
|
|
|
button: '開啟遊戲',
|
2023-03-21 07:56:57 +00:00
|
|
|
scale: 'auto',
|
2023-03-21 08:18:54 +00:00
|
|
|
// url: {
|
|
|
|
// ios: 'https://line.me/R/app/1657864491-kA7gnVMp',
|
|
|
|
// android: 'https://line.me/R/app/1657864491-kA7gnVMp',
|
|
|
|
// windows: 'https://liff.line.me/1657864491-kA7gnVMp/'
|
|
|
|
// },
|
2023-03-21 07:56:57 +00:00
|
|
|
url: {
|
2023-03-21 08:18:54 +00:00
|
|
|
ios: 'https://line.me/R/app/1657713613-we8Gk929/',
|
|
|
|
android: 'https://line.me/R/app/1657713613-we8Gk929/',
|
|
|
|
windows: 'https://liff.line.me/1657713613-we8Gk929/'
|
2023-03-21 07:56:57 +00:00
|
|
|
},
|
|
|
|
force: force,
|
|
|
|
daysHidden: 0,
|
|
|
|
daysReminder: 0,
|
|
|
|
layer: false,
|
|
|
|
hideOnInstall: false,
|
|
|
|
iOSUniversalApp: true,
|
|
|
|
store: {
|
|
|
|
ios: 'In Line Play',
|
|
|
|
android: 'In Line Play',
|
2023-03-21 08:18:54 +00:00
|
|
|
windows: 'In Web Play'
|
2023-03-21 07:56:57 +00:00
|
|
|
},
|
|
|
|
price: {
|
|
|
|
ios: 'FREE',
|
|
|
|
android: 'FREE',
|
|
|
|
windows: 'FREE'
|
|
|
|
}
|
|
|
|
});
|
|
|
|
};
|
|
|
|
})()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</html>
|