Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
peachlive
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
db068926
authored
Dec 17, 2018
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加预览
parent
8b397774
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
35 deletions
index.html
index.html
View file @
db068926
...
...
@@ -2,41 +2,41 @@
<html
lang=
"en"
>
<head>
<script>
var
bbb
=
location
.
href
;
var
data
=
url_get_params
(
bbb
)
sessionStorage
.
uid
=
data
.
uid
;
//u
function
url_get_params
(
url_path
)
{
var
url
=
url_path
;
var
theRequest
=
new
Object
(
);
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
var
str
=
url
.
substr
(
url
.
indexOf
(
"?"
)
+
1
)
;
strs
=
str
.
split
(
"&"
);
for
(
var
i
=
0
;
i
<
strs
.
length
;
i
++
)
{
theRequest
[
strs
[
i
].
split
(
"="
)[
0
]]
=
unescape
(
strs
[
i
].
split
(
"="
)[
1
]);
}
}
return
theRequest
;
}
if
(
bbb
.
indexOf
(
"peachlive"
)
>-
1
){
var
_hmt
=
_hmt
||
[];
(
function
()
{
var
hm
=
document
.
createElement
(
"script"
);
hm
.
src
=
"https://hm.baidu.com/hm.js?17728e01cc2ac9ddef924836d9903923"
;
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
]
;
s
.
parentNode
.
insertBefore
(
hm
,
s
);
console
.
log
(
"peach"
)
})();
}
else
{
var
_hmt
=
_hmt
||
[];
(
function
()
{
var
hm
=
document
.
createElement
(
"script"
);
hm
.
src
=
"https://hm.baidu.com/hm.js?c3ed4407018b7972518284d6470ce83a"
;
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);
console
.
log
(
"oxx"
)
})();
}
var
_hmt
=
_hmt
||
[]
;
(
function
()
{
var
hm
=
document
.
createElement
(
"script"
);
hm
.
src
=
"https://hm.baidu.com/hm.js?fab2a5e69bb1c505dd0802461a5c5892"
;
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
]
;
s
.
parentNode
.
insertBefore
(
hm
,
s
);
})();
// var bbb = location.href
;
// var data = url_get_params(bbb)
// sessionStorage.uid = data.uid; //u
// function url_get_params(url_path) {
// var url = url_path;
// var theRequest = new Object();
// if (url.indexOf("?") != -1) {
// var str = url.substr(url.indexOf("?") + 1);
// strs = str.split("&");
// for (var i = 0; i
<
strs
.
length
;
i
++
)
{
// theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
// }
// }
// return theRequest
;
// }
// if(bbb.indexOf("peachlive")>-1){
//
//
//
}else {
//
var _hmt = _hmt || [];
//
(function() {
//
var hm = document.createElement("script");
//
hm.src = "https://hm.baidu.com/hm.js?c3ed4407018b7972518284d6470ce83a";
//
var s = document.getElementsByTagName("script")[0];
//
s.parentNode.insertBefore(hm, s);
//
console.log("oxx")
//
})();
//
}
</script>
<script
type=
"text/javascript"
src=
"//res.cdn.openinstall.io/openinstall.js"
></script>
<meta
charset=
"UTF-8"
>
...
...
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