Commit 8b397774 by libai

添加预览

parent 182df5e7
Showing with 36 additions and 34 deletions
<!DOCTYPE html>
<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")
})();
}
</script>
<script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script>
<meta charset="UTF-8">
<meta property="og:title" content="水蜜桃直播秘密18X">
......@@ -61,41 +97,7 @@
<script src="lib/jquery-3.1.1.min.js"></script>
<script src='layer-v3.1.0/layer/layer.js'></script>
<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 ua = navigator.userAgent.toLowerCase();
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (/android/.test(ua)) {
......
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