Commit dd02032f by liubai

footseen

parent 31ae6e7f
Showing with 13 additions and 14 deletions
......@@ -283,25 +283,24 @@
<script src="https://footseen.com/layer-v3.1.0/layer/layer.js"></script>
<script type="text/javascript">
$('.mBottom').show();
var ua = navigator.userAgent.toLowerCase();
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (/android/.test(ua)) {
var ua = navigator.userAgent.toLowerCase();
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
// if (/android/.test(ua)) {
$(".anBtn1,.anBtn2").on("click", function () {
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Line") > -1) {
if(sessionStorage.lang == 7){
$('.masking img').att('src','https://footseen.com/img/fx.png');
$(".masking").fadeIn(500);
} else {
$('.masking img').att('src','https://footseen.com/img/fx_en.png');
$(".masking.L_En").fadeIn(500);
}
}
else{
if (userAgent.indexOf("Line") > -1) {
if(sessionStorage.lang == 7){
$('.masking img').att('src','https://footseen.com/img/fx.png');
$(".masking").fadeIn(500);
} else {
$('.masking img').att('src','https://footseen.com/img/fx_en.png');
$(".masking.L_En").fadeIn(500);
}
} else {
window.location.href='apk';
}
})
}
// }
$('.topUp').on('click',function(){
window.location.href = 'http://www.yabolive.tv/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web';
......
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