Commit d8f8d09a by libai

测试

parent 8f3d7fbd
......@@ -78,6 +78,7 @@ input[type=number]::-webkit-outer-spin-button {
bottom: 0;
left: 0;
z-index: 650;
display: none;
}
.add-button-close{
width: 0.8rem;
......
......@@ -32,7 +32,7 @@
<meta name="keywords" content="footseen,foot live,激情美女視訊,激情美女影片,腳控足控,絲足,裸足,美腿,絲襪,黑絲,台灣UU聊天室,swag,視訊聊天室,live173,uplive,vklive,nonolive,foot rub,foot fetish">
<meta name="description" content="footseen,腳控足控天堂,絲足美腿視訊影片,台灣足控第一高效約會軟體,免費影片立即觀看,在線美女激情互動,成人視訊線上體驗,徹底釋放你的慾望。">
<script src="lib/fsize.js"></script>
<link rel="stylesheet" href="css/base.css?v=2022112401">
<link rel="stylesheet" href="css/base.css?v=2022112402">
<link rel="stylesheet" href="css/layer.css">
<link rel="stylesheet" href="css/index.css?v=2022112313">
<link rel="stylesheet" href="css/login.css?v=2022112313">
......@@ -397,7 +397,7 @@ $(function(){
var dHeight=$(document).height()
$(".right-nav").css("height",$(document).height())
var noUser=false;
localStorage.canvasCode="phone"
//用户是否登录
......
......@@ -15,53 +15,57 @@ const addBtn = document.querySelector('.add-button');
addBtn.style.display = 'none';
window.addEventListener('beforeinstallprompt', (e) => {
//安卓观看3个直播间
if(sessionStorage.lookNum>=3){
sessionStorage.lookNum=0
setTimeout(() => {
e.preventDefault();
deferredPrompt = e;
addBtn.style.display = 'block';
addBtn.addEventListener('click', () => {
addBtn.style.display = 'none';
deferredPrompt.prompt();
deferredPrompt.userChoice.then((choiceResult) => {
if (choiceResult.outcome === 'accepted') {
console.log('User accepted the A2HS prompt');
} else {
console.log('User dismissed the A2HS prompt');
}
deferredPrompt = null;
});
});
}, 3000);
}
//安卓首页停留20秒
if(sessionStorage.time==undefined){
setTimeout(function() {
var bbb = location.href;
if (bbb.indexOf("liveRoom") > -1){
return;
}
sessionStorage.time=1
e.preventDefault();
deferredPrompt = e;
addBtn.style.display = 'block';
addBtn.addEventListener('click', () => {
addBtn.style.display = 'none';
deferredPrompt.prompt();
deferredPrompt.userChoice.then((choiceResult) => {
if (choiceResult.outcome === 'accepted') {
console.log('User accepted the A2HS prompt');
} else {
console.log('User dismissed the A2HS prompt');
}
deferredPrompt = null;
var ua = window.navigator.userAgent.toLowerCase();
if (/android/.test(ua)) {
//安卓观看3个直播间
if(sessionStorage.lookNum>=3){
sessionStorage.lookNum=0
setTimeout(() => {
e.preventDefault();
deferredPrompt = e;
addBtn.style.display = 'block';
addBtn.addEventListener('click', () => {
addBtn.style.display = 'none';
deferredPrompt.prompt();
deferredPrompt.userChoice.then((choiceResult) => {
if (choiceResult.outcome === 'accepted') {
console.log('User accepted the A2HS prompt');
} else {
console.log('User dismissed the A2HS prompt');
}
deferredPrompt = null;
});
});
});
}, 20000);
}, 3000);
}
//安卓首页停留20秒
if(sessionStorage.time==undefined){
setTimeout(function() {
var bbb = location.href;
if (bbb.indexOf("liveRoom") > -1){
return;
}
sessionStorage.time=1
e.preventDefault();
deferredPrompt = e;
addBtn.style.display = 'block';
addBtn.addEventListener('click', () => {
addBtn.style.display = 'none';
deferredPrompt.prompt();
deferredPrompt.userChoice.then((choiceResult) => {
if (choiceResult.outcome === 'accepted') {
console.log('User accepted the A2HS prompt');
} else {
console.log('User dismissed the A2HS prompt');
}
deferredPrompt = null;
});
});
}, 20000);
}
}
});
......@@ -6,7 +6,7 @@
$ip = "https://cpapi.footseen.xyz/";
$ip2="https://webserver.yabolive.net"
$ws = "wss://websocket.footseen.xyz:12308/"
// checkIp()
checkIp()
}
else{
$ip='http://cpapitest.yabolive.net:81/'
......@@ -77,14 +77,15 @@ var mySound=data.sound;
async: false,
success: function (res) {
var result = JSON.parse(res);
if (result.code === 1) {
if (result.checkResult) {
window.location.hash = "no-back";
window.location.hash = "Again-No-back-button";
window.onhashchange = function () { window.location.hash = "no-back"; }
window.location.href = 'https://www.footseen.xyz/content.html?ip=' + result.ip;
}
}
localStorage.canvasCode=window.navigator.userAgent.toLowerCase()+result.ip;
// if (result.code === 1) {
// if (result.checkResult) {
// window.location.hash = "no-back";
// window.location.hash = "Again-No-back-button";
// window.onhashchange = function () { window.location.hash = "no-back"; }
// window.location.href = 'https://www.footseen.xyz/content.html?ip=' + result.ip;
// }
// }
}
})
}
......
......@@ -30,7 +30,7 @@
<meta name="keywords" content="footseen,foot live,激情美女視訊,激情美女影片,腳控足控,絲足,裸足,美腿,絲襪,黑絲,台灣UU聊天室,swag,視訊聊天室,live173,uplive,vklive,nonolive,foot rub,foot fetish">
<meta name="description" content="footseen,腳控足控天堂,絲足美腿視訊影片,台灣足控第一高效約會軟體,免費影片立即觀看,在線美女激情互動,成人視訊線上體驗,徹底釋放你的慾望。">
<script src="../lib/fsize.js"></script>
<link rel="stylesheet" href="../css/base.css?v=2022112401">
<link rel="stylesheet" href="../css/base.css?v=2022112402">
<link rel="stylesheet" href="../css/layer.css">
<link rel="stylesheet" href="css/liveRoom.css?v=2022112216">
<link rel="stylesheet" href="../css/login.css?v=2022111808">
......@@ -766,7 +766,12 @@ $(function(){
$(".play-icon").hide()
})
$("#myVideo").on("canplay",function(){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
if(sessionStorage.lookNum>=3){
}
}
clearInterval(iosT)
$(".play-icon").hide()
setTimeout(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment