mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-07-08 20:46:09 +08:00
👒 移除百度统计, 主要是记录缺失, 并且不准确
This commit is contained in:
@@ -78,8 +78,6 @@ export default {
|
||||
this.detail = {
|
||||
show: false
|
||||
}
|
||||
const _hmt = window._hmt
|
||||
_hmt.push(['_trackEvent', 'page', 'view', e])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -326,9 +326,6 @@ export default {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
const _hmt = window._hmt
|
||||
const name = this.detail.info.name
|
||||
_hmt.push(['_trackEvent', 'detail', 'view', name])
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
||||
@@ -272,8 +272,6 @@ export default {
|
||||
group: this.siteInfo.group,
|
||||
isActive: this.siteInfo.isActive
|
||||
}
|
||||
const _hmt = window._hmt
|
||||
_hmt.push(['_trackEvent', 'site', 'add', `${this.siteInfo.name}: ${this.siteInfo.api}`])
|
||||
if (this.dialogType === 'edit') sites.remove(this.siteInfo.id)
|
||||
sites.add(doc).then(res => {
|
||||
this.siteInfo = {
|
||||
|
||||
@@ -221,8 +221,6 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
const _hmt = window._hmt
|
||||
_hmt.push(['_trackEvent', 'site', 'change', e.name])
|
||||
},
|
||||
classClick (e) {
|
||||
this.show.classList = false
|
||||
@@ -233,8 +231,6 @@ export default {
|
||||
this.infiniteId += 1
|
||||
}
|
||||
})
|
||||
const _hmt = window._hmt
|
||||
_hmt.push(['_trackEvent', 'class', 'change', e.name])
|
||||
},
|
||||
getClass () {
|
||||
return new Promise((resolve, reject) => {
|
||||
@@ -417,8 +413,6 @@ export default {
|
||||
} else {
|
||||
this.searchSingleSiteEvent(this.site, wd)
|
||||
}
|
||||
const _hmt = window._hmt
|
||||
_hmt.push(['_trackEvent', 'film', 'search', wd])
|
||||
},
|
||||
searchAllSitesEvent (sites, wd) {
|
||||
this.searchTxt = wd
|
||||
|
||||
@@ -302,8 +302,6 @@ export default {
|
||||
this.playUrl(this.video.iptv.url)
|
||||
this.name = this.video.iptv.name
|
||||
this.getIptvList()
|
||||
const _hmt = window._hmt
|
||||
_hmt.push(['_trackEvent', 'IPTV', 'play', this.name])
|
||||
} else {
|
||||
const index = this.video.info.index | 0
|
||||
let time = 0
|
||||
@@ -354,8 +352,6 @@ export default {
|
||||
}
|
||||
zy.detail(this.video.key, this.video.info.id).then(res => {
|
||||
this.name = res.name
|
||||
const _hmt = window._hmt
|
||||
_hmt.push(['_trackEvent', 'film', 'play', res.name])
|
||||
const dd = res.dl.dd
|
||||
const type = Object.prototype.toString.call(dd)
|
||||
let m3u8Txt = []
|
||||
|
||||
@@ -145,7 +145,6 @@ import { setting, sites, shortcut } from '../lib/dexie'
|
||||
import { sites as defaultSites } from '../lib/dexie/initData'
|
||||
import { shell, clipboard, remote, ipcRenderer } from 'electron'
|
||||
import db from '../lib/dexie/dexie'
|
||||
const _hmt = window._hmt
|
||||
export default {
|
||||
name: 'setting',
|
||||
data () {
|
||||
@@ -310,7 +309,6 @@ export default {
|
||||
changeTheme (e) {
|
||||
this.d.theme = e
|
||||
this.updateSettingEvent()
|
||||
_hmt.push(['_trackEvent', 'setting', 'theme', e])
|
||||
},
|
||||
changeShortcut (e) {
|
||||
this.d.shortcut = e
|
||||
|
||||
@@ -69,8 +69,6 @@ export default {
|
||||
const id = this.share.info.ids || this.share.info.id
|
||||
zy.detail(this.share.key, id).then(res => {
|
||||
if (res) {
|
||||
const _hmt = window._hmt
|
||||
_hmt.push(['_trackEvent', 'film', 'share', res.name])
|
||||
this.pic = res.pic
|
||||
var m3u8List = {}
|
||||
const dd = res.dl.dd
|
||||
|
||||
Reference in New Issue
Block a user