Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e610065c
authored
May 30, 2020
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
seo替换
parent
d7645f68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
in/seo/seo.js
in/seo/seo.js
View file @
e610065c
...
...
@@ -33,16 +33,16 @@ window.onload = function () {
var
userAgent
=
navigator
.
userAgent
;
if
(
/iphone|ipad|ipod/
.
test
(
ua
))
{
//鑻规灉
if
((
userAgent
.
indexOf
(
"Safari"
)
>
-
1
&&
userAgent
.
indexOf
(
"Chrome"
)
==
-
1
)
||
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
)
{
//safari 鎴栬€呭井淇�
window
.
location
.
href
=
"http
://www.yabolive.com/iosDown
.html"
;
window
.
location
.
href
=
"http
s://yabolive.com/other/milk/index
.html"
;
}
else
{
//鏄剧ず鍘籹afari鍥剧墖
window
.
document
.
getElementsByClassName
(
'toSafariContainer'
)[
0
].
style
.
display
=
'block'
;
}
}
else
{
//瀹夊崜
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
)
{
//鏄惁鏄井淇�
window
.
location
.
href
=
"http://a.app.qq.com/o/simple.jsp?pkgname=com.show.
yabo
"
;
window
.
location
.
href
=
"http://a.app.qq.com/o/simple.jsp?pkgname=com.show.
tealive
"
;
}
else
{
window
.
location
.
href
=
"http
://www.yabolive.com/dlapk
"
;
window
.
location
.
href
=
"http
s://yabolive.com/other/milk/index.html
"
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment