This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"pns":"com.misfitwearables.prometheus,com.edooon.gps,com.garmin.android.apps.connectmobile,co.runner.app,com.stt.android,com.endomondo.android,com.nike.plusgps,com.jawbone.up,com.fitnesskeeper.runkeeper.pro,com.mapmyrun.android2,com.protogeo.moves,com.fitbit.FitbitMobile" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ch"> | |
<head> | |
<title>U/TI 2015夏新品发布会诚邀</title> | |
<meta charset="utf-8" /> | |
<meta HTTP-EQUIV="pragma" CONTENT="no-cache"> | |
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"> | |
<meta HTTP-EQUIV="expires" CONTENT="0"> | |
<meta name="keywords" content="U/TI 2015夏新品发布会诚邀" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="author" content="Tencent-TGideas"> | |
<meta name="format-detection" content="telephone=no" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | |
<title>首页-TGA移动游戏大奖赛官网</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GA 统计 | |
var trackEvent = function (opt) { | |
if (typeof ga !== 'undefined' && ga) { | |
var _act, _cat, _lbl, _val; | |
if (opt) { | |
_cat = opt.category || ''; | |
_act = opt.action || ''; | |
_lbl = opt.label || ''; | |
_val = opt.value || 0; | |
return ga('send', 'event', _cat, _act, _lbl, _val); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 微博分享 | |
trackEvent({category: 'movie2014', action: 'share', label: 'weibo'}); | |
// 微信好友分享 | |
trackEvent({category: 'movie2014', action: 'share', label: 'wechat-friend'}); | |
// 微信朋友圈分享 | |
trackEvent({category: 'movie2014', action: 'share', label: 'wechat-timeline'}); | |
// 每个电影点击喜欢的 的数据 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @Author: [email protected] | |
* @Date: 2014-12-17 19:50:08 | |
* @Last Modified by: [email protected] | |
* @Last Modified time: 2014-12-17 20:04:19 | |
*/ | |
// 判断是不是在 P4 中 | |
if (window.campaignPlugin) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ispc = false; | |
(function(){ | |
var SUA = navigator.userAgent, SUA_OF = function(s){return SUA.indexOf(s) > -1}; | |
if (SUA_OF('Android') && SUA_OF('Mobile') || SUA_OF('iPhone') || SUA_OF('iPod') || SUA_OF('Symbian') || SUA_OF('IEMobile')){ | |
}else{ | |
ispc = true; | |
} | |
})(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var j = window.navigator.userAgent; | |
var g = { | |
android: j.match(/(Android);?[\s\/]+([\d.]+)?/), | |
iphone: j.match(/(iPhone\sOS)\s([\d_]+)/) | |
}; | |
var d = { | |
aliapp: j.match(/\AliApp\(([^\/]+)\/([\d\.\w]+)\)/), | |
xiami: j.match(/(AliApp)\((XM)\/([0-9.]+)\)*/), | |
weibo: j.match(/.*?(weibo\_\_([0-9.]+))\s*/), | |
weixin: j.match(/.*?(MicroMessenger\/([0-9.]+))\s*/) |