HTTP/1.1 200 OK
Content-Type: text/html
Accept-Ranges: bytes
ETag: "352640144"
Last-Modified: Tue, 28 Aug 2018 08:41:10 GMT
X-Frame-Options: DENY
Content-Length: 36678
Connection: close
Date: Thu, 21 Nov 2024 01:58:27 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>IPCam Client</title>
<script>
/*when login page to refresh once to resolve cache*/
(function(){
function setCookie(name, value) {
if (typeof (value) == "undefined") return;
var Days = 300;
var exp = new Date();
exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
document.cookie = name + "=" + value + ";expires=" + exp.toGMTString();
}
function getCookie(name) {
var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
if (arr != null)
return arr[2];
return null;
}
function delCookie(name) {
var exp = new Date();
exp.setTime(exp.getTime() - 1);
var cval = getCookie(name);
if (cval != null)
document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString();
}
if(window.navigator.userAgent.indexOf("MSIE")!=-1||window.navigator.userAgent.indexOf("Trident")!=-1)
{
return ;
}
if(typeof document.cookie != 'undefined')
{
if(getCookie("first")=="1")
{
delCookie("first");
if(console)
{
//console.log("每次进入刷新一次");
}
location.reload();
}
else
{
setCookie("first","1");
}
}
}
)
();
</script>
<script src="js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="js/flv.js" type="text/javascript"></script>
<script type="text/javascript">
var ver = (new Date()).getTime();
document.write('<script type="text/javascript" src="js/ansiUrlCodec.js?ver=' + ver + '"><'+ '/script>');
document.write('<script type="text/javascript" src="js/language.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/common.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/browser.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/class.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/main.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/var.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/websocket_service_manager.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/websocket_core.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/classwy.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/upfile.js?ver=' + ver + '"><' + '/script>');
document.write('<script type="text/javascript" src="js/brand.js?ver=' + ver + '"><' + '/script>');
</script>
<script language="javascript" type="text/javascript">
function GetRecordPathCallBack(data){}
function GetFileSizeByPathCallBack(date){}
function SelectRecordPathCallBack(data){}
function UpdateFirmFilePathCallBack(data){}
function moduleDidLoad() {
gDvr.obj = document.getElementsByTagName("Embed");
for(var i=0; i<1; i++)
gDvr.Init(i, gVar.nDate);
}
function SetSnapPicture(data)
{
// console.log(data);
document.getElementById("hdvalue").value = "";//清空之前数据
var PicDate = "data:image/jpeg;base64," + data;
document.getElementById("hdvalue").value = PicDate;
// window.open("/html/snap.html", "newwindow");
var a = $("<a href='/html/snap.html' target='_blank'></a>").get(0);
if ($.browser.msie)
{
window.open(a);
}else {
if (document.createEvent) {
var evObj = document.createEvent('MouseEvents')
evObj.initEvent('click', true, false)
a.dispatchEvent(evObj)
}
else if (document.createEventObject) {
a.fireEvent('onclick')
}
}
}
function checkPlugin() {
if(H5Live){
$("#plugin").html('<video name="videoElement" id="videoTag" class="centeredVideo" width="100%" height="100%" preload="none" autoplay playsinline></video><video name="audioElement" id="audioTag" class="centeredAudio" style="display:none;" preload="none" autoplay playsinline></video><div id="connectErrorTxt"></div><div id="videoSignGreen"></div><div id="videoSignRed"></div>');
$("video").bind("contextmenu",function(){//取消video 鼠标右键事件
return false;
});
}else{
var prms = {
"allowFullScreen": "true",
"allowScriptAccess": "sameDomain"
};
$("#plugin").html('<embed src="plugin/FoscamFlashPlayer.swf" id="flashPlayer" width="100%" height="100%" allowScriptAccess="sameDomain" allowFullScreen="true">');
try {
gDvr.obj = document.getElementsByTagName("embed");
isplugin = true;
} catch (e) {
isplugin = false;
}
}
}
function VersionCheck(data)
{
//check plugin version
vsIf = data;
var v1 = vsIf.split("."); //plugin version
var v2 = pVersion.split("."); //web version
var needUpdate = false;
for(var m = 0; m < 4; m++){
if(v2[m] * 1 > v1[m] * 1){
needUpdate = true;
break;
}else if(v2[m] * 1 == v1[m] * 1){
continue;
}else{
needUpdate = false;
break;
}
}
if (needUpdate) {
var browserName = navigator.userAgent.toLowerCase();
var obj = document.getElementById("downPlugins");
//console.log(browserName);
if (/chrome/i.test(browserName)) {
obj.innerHTML = '<a id="down" href="IPCWebComponents.exe">' + lg.get("IDS_PLUGIN_UPDATE_TIP") + '</a>';
}
else {
obj.innerHTML = '<a id="down" href="http://download.foscam.com/plugin-a">' + lg.get("IDS_PLUGIN_UPDATE_TIP") + '</a>';
}
}
}
// Firefox Chrome edge call this function if plugin is not exist
function DownServer() {
if(IsChromeSupportNacl() || IsFirefox() || IsEdge()){
var obj = document.getElementById("downPlugins");
obj.innerHTML = '<a id="down" href="IPCWebComponents.exe">' + lg.get("IDS_LOGIN_KJ") + '</a>';
}
if(IsSarfariSupportH5()){
var obj = document.getElementById("downPlugins");
obj.innerHTML = '<a id="down" href="http://download.foscam.com/plugin-a">' + lg.get("IDS_LOGIN_KJ") + '</a>';
}
}
function log(str){
//console.log(str);
}
function consoleMsg(str){
var browserName = navigator.userAgent.toLowerCase();
if( !(/trident/i.test(browserName)) ){
//console.log(str);
}
}
function handleMessage(msg)
{
try
{
consoleMsg("handleMessage");
eval(msg.data.split("\r\n").join("").split("\n").join(""));
naclState = true;
}
catch (e)
{
//alert(e);
//alert(msg.data);
}
}
function ShowCircle(name, show){
if (IsChromeSupportNacl())
{
if(show) show="inline";
else show = "none";
$("#circle"+name).css("display", show);
}
}
function ShowConTip(show) {
if (IsChromeSupportNacl()) {
if (show) show = "inline";
else show = "none";
$("#connectTip").css("display", show);
}
}
function naclCall(){}
function doEvent(){}
function ReSize(){}
$(function () {
gDvr = new DvrInfo();
browserVer = new IsBrowserVersion();
//监听滚动条事件,出现滚动条调用插件刷新窗口的接口UpdatePluginWindow,IE调用,其他浏览器不调用
window.onscroll = function(){
var t = document.documentElement.scrollTop || document.body.scrollTop;
if(t >= 0){
if(browserVer.browsers == "Internet Explorer" || browserVer.browsers == "IE11"){
for(var i=0;i<9;i++){
try{
gDvr.UpdatePluginWindow(i);
}catch(e){}
}
}
}
}
var isIE11 = true;
var sVersion = "5.1.0.10"; //web safari plugin version
var s = navigator.userAgent.split("Trident");
if (typeof s[1] == 'undefined') {
isIE11 = false;
}
function DownPluginTip() { }
var isIE = true;
if(browserVer.browsers == "safari" && !isIE11 && !H5Live_Safari){
isIE = false;
doEvent = doEvent1;
ReSize = function () { try { $("#gsliderCov").trigger("sChange"); } catch (e) { } }
var plugins = navigator.mimeTypes;
var plugin = false;
for (var pi = 0; pi < plugins.length; pi++) {
if (plugins[pi].type == "application/ipcam-regplugin") {
vsIf = plugins[pi].enabledPlugin.description.split("-");
if (vsIf.length == 2) vsIf = vsIf[1];
else vsIf = "";
plugin = true; break;
}
}
if (!plugin) {
DownPluginTip = function () {
var browserName = navigator.userAgent.toLowerCase();
var obj = document.getElementById("downPlugins");
var obj2 = document.getElementById("helpInformation");
if (/firefox/i.test(browserName)) {
if(browserPlatform == "win64" || browserPlatform == "macintel") return;
obj.innerHTML = '<a id="down" href="IPCWebComponents.exe">' + lg.get("IDS_LOGIN_KJ") + '</a>';
obj2.innerHTML = '<a id="down2" href="https://www.foscam.com/faqs/view.html?id=14#firefox" target="_blank">' + lg.get("IDS_PLUGINS_EXCEPTION_LINK") + '</a>';
}
else {
obj.innerHTML = '<a id="down" href="http://download.foscam.com/plugin-a">' + lg.get("IDS_LOGIN_KJ") + '</a>';
obj2.innerHTML = '<a id="down2" href="https://www.foscam.com/faqs/view.html?id=14#safari" target="_blank">' + lg.get("IDS_PLUGINS_EXCEPTION_LINK") + '</a>';
}
}
}
else {
//check plugin version
var v2;
var v1 = vsIf.split("."); //plugin version
if (/firefox/i.test(browserName)) {
v2 = pVersion.split("."); //web version
} else {
v2 = sVersion.split(".");
}
var needUpdate = false;
for (var m = 0; m < 4; m++) {
if (v2[m] * 1 > v1[m] * 1) {
needUpdate = true;
break;
} else if (v2[m] * 1 == v1[m] * 1) {
continue;
} else {
needUpdate = false;
break;
}
}
if (needUpdate) {
DownPluginTip = function () {
var browserName = navigator.userAgent.toLowerCase();
var obj = document.getElementById("downPlugins");
if (/firefox/i.test(browserName)) {
obj.innerHTML = '<a id="down" href="IPCWebComponents.exe">' + lg.get("IDS_PLUGIN_UPDATE_TIP") + '</a>';
}
else {
//obj.innerHTML = '<a id="down" href="plugins.pkg">' + lg.get("IDS_PLUGIN_UPDATE_TIP") + '</a>';
obj.innerHTML = '<a id="down" href="http://download.foscam.com/plugin-a">' + lg.get("IDS_PLUGIN_UPDATE_TIP") + '</a>';
}
}
}
}
var str = "";
for (var i = 0; i < 9; i++) {
str += ('<div id="ipcamdiv' + i + '" style="float:left;height:0%;width:0%;"><embed width="100%" height="100%" pluginspage="IPCWebComponents.exe" type="application/ipcam-regplugin" id="ipcam" name="' + i + '"></embed></div>')
}
$("#plugin").html(str);
}else if(browserVer.browsers == "Internet Explorer" || isIE11){
doEvent = doEvent2;
if ($.browser.version == "6.0") {
//设计最小值
onReSize();
document.body.onresize = function () {
onReSize(); changPlugin(); try { $("#gsliderCov").trigger("sChange"); } catch (e) {
}
};
} else {
document.body.onresize = function () { changPlugin(); try { $("#gsliderCov").trigger("sChange"); } catch (e) { } };
}
}else if(IsEdge()){
wsServiceManager.requestService();
isIE = false;
doEvent = doEvent1;
ReSize = function () { try { $("#gsliderCov").trigger("sChange"); } catch (e) { } }
if(H5Live_Edge){
$("#plugin").html('<video name="videoElement" id="videoTag" class="centeredVideo" width="100%" autoplay="autoplay" height="100%"></video><video name="audioElement" id="audioTag" autoplay="autoplay" class="centeredAudio" style="display:none;"></video><div id="connectErrorTxt"></div><div id="videoSignGreen"></div><div id="videoSignRed"></div>');
$("video").bind("contextmenu",function(){//取消video 鼠标右键事件
return false;
});
}else{
var prms = {
"allowFullScreen": "true",
"allowScriptAccess": "sameDomain"
};
$("#plugin").html('<embed src="plugin/FoscamFlashPlayer.swf" width="100%" height="100%" allowScriptAccess="sameDomain" allowFullScreen="true">');
try {
gDvr.obj = document.getElementsByTagName("embed");
isplugin = true;
} catch (e) {
isplugin = false;
}
}
}else{
//if(browserPlatform != "macintel")
wsServiceManager.requestService();
isIE = false;
doEvent = doEvent1;
ReSize = function () { try { $("#gsliderCov").trigger("sChange"); } catch (e) { } }
checkPlugin();
}
window.onbeforeunload = function (e) {
Logout();
if(browserVer.browsers == "Internet Explorer" || IsIE11()){
for(var i=0;i<9;i++){
try{
gDvr.CloseIETab(i);
}catch(e){}
}
}else if(IsFirefox() || IsEdge() || IsChromeSupportNacl() || (browserVer.browsers == "Safari" && H5Live_Safari)){
gDvr.closeWebSocketProcess();
}
}
WebInit(DownPluginTip, isIE);
});
</script>
<link href="css/main1.css" rel="stylesheet" type="text/css" />
</head>
<body onselectstart="return fbd();" onresize="ReSize()">
<iframe onload="" id="cgiframe" style="display:none"></iframe>
<iframe onload="" id="cgiframe1" style="display:none"></iframe>
<div id="MsgPaop">
<div id="PaopBg" style="height:28px; width:240px; background:url(images/paopaotitie.gif)">
<div id="Paoptitle" ></div><div class="paopao_close"></div>
</div>
<div id="PaopContant" style="height:145px;font-family:'Times New Roman', Times, serif;width:240px;white-space:normal;word-break:break-all; background:#FFF;"></div>
</div>
<div id="MsgPaop1">
<div id="PaopBg1" style="height:28px; width:240px; background:url(images/paopaotitie.gif)">
<div id="Paoptitle1" ></div><div class="paopao_close1"></div>
</div>
<div id="PaopContant1" style="height:145px; width:240px;white-space:normal;word-break:break-all; background:#FFF;"></div>
</div>
<div type="hidden" name="hdvalue" id="hdvalue" style="display:none;"></div>
<div id="MaskLayout"></div>
<div id="VideoMaskLayout" style="display:none;">
<div id="textInVideoMask"style="color:white; margin-top:0px;text-decoration:underline;cursor:pointer;"></div>
</div>
<script>MasklayerShow();</script>
<div id="login"></div>
<div id="header" class="undisplay" style="background:url(images/con-logo-bg.png); display:none;font-family:Arial;" headerSt
{
"@category" : "datascan",
"@timestamp" : "2024-11-21T01:58:30.000Z",
"app" : {
"extract" : {
"domain" : [
"foscam.com",
"w3.org"
],
"file" : [
"ipcwebcomponents.exe"
],
"hostname" : [
"download.foscam.com",
"www.foscam.com",
"www.w3.org"
],
"ip" : [
"5.1.0.10"
],
"url" : [
"http://download.foscam.com/plugin-a",
"http://www.w3.org/1999/xhtml",
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd",
"https://www.foscam.com/faqs/view.html?id=14"
]
},
"http" : {
"bodymd5" : "9f98a7abd125fec970eadd9a43e05a8d",
"bodymmh3" : -1631346900,
"component" : [
{
"productvendor" : "jQuery",
"productversion" : "1.4.4",
"product" : "jQuery"
}
],
"header" : [
{
"value" : 352640144,
"name" : "ETag"
},
{
"value" : "Tue, 28 Aug 2018 08:41:10 GMT",
"name" : "Last-Modified"
}
],
"headermd5" : "d7c7627fa78f8a48e7b269ad68ec0899",
"headermmh3" : -316780581,
"title" : "IPCam Client"
},
"length" : 16384
},
"asn" : "AS30722",
"city" : "Padova",
"country" : "IT",
"cpe" : "<enterprise field>: cpe",
"cpecount" : "<enterprise field>: cpecount",
"data" : "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nAccept-Ranges: bytes\r\nETag: \"352640144\"\r\nLast-Modified: Tue, 28 Aug 2018 08:41:10 GMT\r\nX-Frame-Options: DENY\r\nContent-Length: 36678\r\nConnection: close\r\nDate: Thu, 21 Nov 2024 01:58:27 GMT\r\n\r\n\ufeff<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n<title>IPCam Client</title>\r\n<script>\r\n/*when login page to refresh once to resolve cache*/\r\n\t(function(){\r\n\tfunction setCookie(name, value) {\r\n if (typeof (value) == \"undefined\") return;\r\n var Days = 300;\r\n var exp = new Date();\r\n exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);\r\n document.cookie = name + \"=\" + value + \";expires=\" + exp.toGMTString(); \r\n }\r\nfunction getCookie(name) {\r\n var arr = document.cookie.match(new RegExp(\"(^| )\" + name + \"=([^;]*)(;|$)\"));\r\n if (arr != null)\r\n return arr[2]; \r\n return null;\r\n}\r\nfunction delCookie(name) {\r\n var exp = new Date();\r\n exp.setTime(exp.getTime() - 1);\r\n var cval = getCookie(name);\r\n if (cval != null) \r\n document.cookie = name + \"=\" + cval + \";expires=\" + exp.toGMTString();\r\n}\r\nif(window.navigator.userAgent.indexOf(\"MSIE\")!=-1||window.navigator.userAgent.indexOf(\"Trident\")!=-1)\r\n{\r\n\treturn ;\r\n}\r\nif(typeof document.cookie != 'undefined')\r\n{\r\n\tif(getCookie(\"first\")==\"1\")\r\n\t{\r\n\t\tdelCookie(\"first\");\r\n\t\tif(console)\r\n\t\t{\r\n\t\t//console.log(\"\u6bcf\u6b21\u8fdb\u5165\u5237\u65b0\u4e00\u6b21\");\r\n\t\t}\r\n\t\tlocation.reload();\r\n\t}\r\n\telse\r\n\t{\r\n\t\tsetCookie(\"first\",\"1\");\r\n\t}\r\n}\r\n}\r\n)\r\n();\r\n</script>\r\n<script src=\"js/jquery-1.4.4.min.js\" type=\"text/javascript\"></script>\r\n<script src=\"js/flv.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n var ver = (new Date()).getTime();\r\n document.write('<script type=\"text/javascript\" src=\"js/ansiUrlCodec.js?ver=' + ver + '\"><'+ '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/language.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/common.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/browser.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/class.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/main.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/var.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/websocket_service_manager.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/websocket_core.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/classwy.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/upfile.js?ver=' + ver + '\"><' + '/script>');\r\n document.write('<script type=\"text/javascript\" src=\"js/brand.js?ver=' + ver + '\"><' + '/script>');\r\n</script>\r\n<script language=\"javascript\" type=\"text/javascript\">\r\nfunction GetRecordPathCallBack(data){}\r\nfunction GetFileSizeByPathCallBack(date){}\r\nfunction SelectRecordPathCallBack(data){}\r\nfunction UpdateFirmFilePathCallBack(data){}\r\nfunction moduleDidLoad() {\r\n\tgDvr.obj = document.getElementsByTagName(\"Embed\");\r\n\tfor(var i=0; i<1; i++) \r\n gDvr.Init(i, gVar.nDate);\r\n} \r\nfunction SetSnapPicture(data)\r\n{\r\n\t\t// console.log(data);\r\n document.getElementById(\"hdvalue\").value = \"\";//\u6e05\u7a7a\u4e4b\u524d\u6570\u636e\r\n\t\tvar PicDate = \"data:image/jpeg;base64,\" + data;\r\n\t\tdocument.getElementById(\"hdvalue\").value = PicDate;\r\n // window.open(\"/html/snap.html\", \"newwindow\");\r\n var a = $(\"<a href='/html/snap.html' target='_blank'></a>\").get(0);\r\n if ($.browser.msie) \r\n {\r\n window.open(a);\r\n }else {\r\n if (document.createEvent) {\r\n var evObj = document.createEvent('MouseEvents')\r\n evObj.initEvent('click', true, false)\r\n a.dispatchEvent(evObj)\r\n }\r\n else if (document.createEventObject) {\r\n a.fireEvent('onclick')\r\n }\r\n }\r\n}\r\n\r\nfunction checkPlugin() {\r\n if(H5Live){\r\n $(\"#plugin\").html('<video name=\"videoElement\" id=\"videoTag\" class=\"centeredVideo\" width=\"100%\" height=\"100%\" preload=\"none\" autoplay playsinline></video><video name=\"audioElement\" id=\"audioTag\" class=\"centeredAudio\" style=\"display:none;\" preload=\"none\" autoplay playsinline></video><div id=\"connectErrorTxt\"></div><div id=\"videoSignGreen\"></div><div id=\"videoSignRed\"></div>');\r\n $(\"video\").bind(\"contextmenu\",function(){//\u53d6\u6d88video \u9f20\u6807\u53f3\u952e\u4e8b\u4ef6\r\n return false;\r\n });\r\n }else{\r\n var prms = {\r\n \"allowFullScreen\": \"true\",\r\n \"allowScriptAccess\": \"sameDomain\"\r\n };\r\n $(\"#plugin\").html('<embed src=\"plugin/FoscamFlashPlayer.swf\" id=\"flashPlayer\" width=\"100%\" height=\"100%\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"true\">');\r\n try {\r\n gDvr.obj = document.getElementsByTagName(\"embed\");\r\n isplugin = true;\r\n } catch (e) {\r\n isplugin = false;\r\n }\r\n }\r\n}\r\n\r\nfunction VersionCheck(data)\r\n{\r\n\t//check plugin version\r\n vsIf = data;\r\n var v1 = vsIf.split(\".\"); //plugin version\r\n var v2 = pVersion.split(\".\"); //web version\r\n var needUpdate = false;\r\n for(var m = 0; m < 4; m++){\r\n if(v2[m] * 1 > v1[m] * 1){\r\n needUpdate = true;\r\n break;\r\n }else if(v2[m] * 1 == v1[m] * 1){\r\n continue;\r\n }else{\r\n needUpdate = false;\r\n break;\r\n }\r\n }\r\n\t if (needUpdate) {\r\n var browserName = navigator.userAgent.toLowerCase();\r\n var obj = document.getElementById(\"downPlugins\");\r\n \r\n //console.log(browserName);\r\n if (/chrome/i.test(browserName)) {\r\n obj.innerHTML = '<a id=\"down\" href=\"IPCWebComponents.exe\">' + lg.get(\"IDS_PLUGIN_UPDATE_TIP\") + '</a>';\r\n }\r\n else {\r\n obj.innerHTML = '<a id=\"down\" href=\"http://download.foscam.com/plugin-a\">' + lg.get(\"IDS_PLUGIN_UPDATE_TIP\") + '</a>';\r\n }\r\n\t }\r\n}\r\n\r\n// Firefox Chrome edge call this function if plugin is not exist\r\nfunction DownServer() {\r\n\t if(IsChromeSupportNacl() || IsFirefox() || IsEdge()){\r\n var obj = document.getElementById(\"downPlugins\");\r\n obj.innerHTML = '<a id=\"down\" href=\"IPCWebComponents.exe\">' + lg.get(\"IDS_LOGIN_KJ\") + '</a>';\r\n\t }\r\n\t \r\n\t if(IsSarfariSupportH5()){\r\n\t\tvar obj = document.getElementById(\"downPlugins\"); \r\n obj.innerHTML = '<a id=\"down\" href=\"http://download.foscam.com/plugin-a\">' + lg.get(\"IDS_LOGIN_KJ\") + '</a>'; \r\n\t }\r\n}\r\n\t\r\nfunction log(str){\r\n //console.log(str);\r\n}\r\nfunction consoleMsg(str){\r\n var browserName = navigator.userAgent.toLowerCase();\r\n if( !(/trident/i.test(browserName)) ){\r\n //console.log(str);\r\n }\r\n}\r\nfunction handleMessage(msg) \r\n{ \r\n try \r\n {\r\n consoleMsg(\"handleMessage\");\r\n eval(msg.data.split(\"\\r\\n\").join(\"\").split(\"\\n\").join(\"\"));\r\n naclState = true;\r\n } \r\n catch (e)\r\n { \r\n //alert(e); \r\n //alert(msg.data); \r\n } \r\n}\r\nfunction ShowCircle(name, show){\r\n\tif (IsChromeSupportNacl())\r\n\t{\r\n\t\tif(show) show=\"inline\";\r\n\t\telse show = \"none\";\r\n\t\t$(\"#circle\"+name).css(\"display\", show);\r\n\t}\r\n}\r\nfunction ShowConTip(show) {\r\n if (IsChromeSupportNacl()) {\r\n if (show) show = \"inline\";\r\n else show = \"none\";\r\n $(\"#connectTip\").css(\"display\", show);\r\n }\r\n}\r\nfunction naclCall(){}\r\nfunction doEvent(){}\r\nfunction ReSize(){}\r\n$(function () {\r\n gDvr = new DvrInfo();\r\n browserVer = new IsBrowserVersion();\r\n //\u76d1\u542c\u6eda\u52a8\u6761\u4e8b\u4ef6,\u51fa\u73b0\u6eda\u52a8\u6761\u8c03\u7528\u63d2\u4ef6\u5237\u65b0\u7a97\u53e3\u7684\u63a5\u53e3UpdatePluginWindow,IE\u8c03\u7528\uff0c\u5176\u4ed6\u6d4f\u89c8\u5668\u4e0d\u8c03\u7528\r\n window.onscroll = function(){\r\n var t = document.documentElement.scrollTop || document.body.scrollTop;\r\n if(t >= 0){\r\n if(browserVer.browsers == \"Internet Explorer\" || browserVer.browsers == \"IE11\"){\r\n for(var i=0;i<9;i++){\r\n try{\r\n gDvr.UpdatePluginWindow(i);\r\n }catch(e){}\r\n }\r\n }\r\n }\r\n }\r\n var isIE11 = true;\r\n var sVersion = \"5.1.0.10\"; //web safari plugin version\r\n var s = navigator.userAgent.split(\"Trident\");\r\n if (typeof s[1] == 'undefined') {\r\n isIE11 = false;\r\n }\r\n function DownPluginTip() { }\r\n var isIE = true;\r\n if(browserVer.browsers == \"safari\" && !isIE11 && !H5Live_Safari){\r\n isIE = false;\r\n doEvent = doEvent1;\r\n ReSize = function () { try { $(\"#gsliderCov\").trigger(\"sChange\"); } catch (e) { } }\r\n var plugins = navigator.mimeTypes;\r\n var plugin = false;\r\n for (var pi = 0; pi < plugins.length; pi++) {\r\n if (plugins[pi].type == \"application/ipcam-regplugin\") {\r\n vsIf = plugins[pi].enabledPlugin.description.split(\"-\");\r\n if (vsIf.length == 2) vsIf = vsIf[1];\r\n else vsIf = \"\";\r\n plugin = true; break;\r\n }\r\n }\r\n if (!plugin) {\r\n DownPluginTip = function () {\r\n var browserName = navigator.userAgent.toLowerCase();\r\n var obj = document.getElementById(\"downPlugins\");\r\n var obj2 = document.getElementById(\"helpInformation\");\r\n if (/firefox/i.test(browserName)) {\r\n if(browserPlatform == \"win64\" || browserPlatform == \"macintel\") return;\r\n obj.innerHTML = '<a id=\"down\" href=\"IPCWebComponents.exe\">' + lg.get(\"IDS_LOGIN_KJ\") + '</a>';\r\n obj2.innerHTML = '<a id=\"down2\" href=\"https://www.foscam.com/faqs/view.html?id=14#firefox\" target=\"_blank\">' + lg.get(\"IDS_PLUGINS_EXCEPTION_LINK\") + '</a>';\r\n }\r\n else {\r\n obj.innerHTML = '<a id=\"down\" href=\"http://download.foscam.com/plugin-a\">' + lg.get(\"IDS_LOGIN_KJ\") + '</a>';\r\n\t\t obj2.innerHTML = '<a id=\"down2\" href=\"https://www.foscam.com/faqs/view.html?id=14#safari\" target=\"_blank\">' + lg.get(\"IDS_PLUGINS_EXCEPTION_LINK\") + '</a>';\r\n }\r\n }\r\n }\r\n else {\r\n //check plugin version\r\n var v2;\r\n var v1 = vsIf.split(\".\"); //plugin version\r\n if (/firefox/i.test(browserName)) {\r\n v2 = pVersion.split(\".\"); //web version\r\n } else {\r\n v2 = sVersion.split(\".\");\r\n }\r\n var needUpdate = false;\r\n for (var m = 0; m < 4; m++) {\r\n if (v2[m] * 1 > v1[m] * 1) {\r\n needUpdate = true;\r\n break;\r\n } else if (v2[m] * 1 == v1[m] * 1) {\r\n continue;\r\n } else {\r\n needUpdate = false;\r\n break;\r\n }\r\n }\r\n if (needUpdate) {\r\n DownPluginTip = function () {\r\n var browserName = navigator.userAgent.toLowerCase();\r\n var obj = document.getElementById(\"downPlugins\");\r\n if (/firefox/i.test(browserName)) {\r\n obj.innerHTML = '<a id=\"down\" href=\"IPCWebComponents.exe\">' + lg.get(\"IDS_PLUGIN_UPDATE_TIP\") + '</a>';\r\n }\r\n else {\r\n //obj.innerHTML = '<a id=\"down\" href=\"plugins.pkg\">' + lg.get(\"IDS_PLUGIN_UPDATE_TIP\") + '</a>';\r\n obj.innerHTML = '<a id=\"down\" href=\"http://download.foscam.com/plugin-a\">' + lg.get(\"IDS_PLUGIN_UPDATE_TIP\") + '</a>';\r\n }\r\n }\r\n }\r\n }\r\n\t\t\r\n\t\tvar str = \"\";\r\n\t\tfor (var i = 0; i < 9; i++) {\r\n\t\t\tstr += ('<div id=\"ipcamdiv' + i + '\" style=\"float:left;height:0%;width:0%;\"><embed width=\"100%\" height=\"100%\" pluginspage=\"IPCWebComponents.exe\" type=\"application/ipcam-regplugin\" id=\"ipcam\" name=\"' + i + '\"></embed></div>')\r\n\t\t}\r\n\t\t$(\"#plugin\").html(str);\r\n }else if(browserVer.browsers == \"Internet Explorer\" || isIE11){\r\n doEvent = doEvent2;\r\n if ($.browser.version == \"6.0\") {\r\n //\u8bbe\u8ba1\u6700\u5c0f\u503c\r\n onReSize();\r\n document.body.onresize = function () {\r\n onReSize(); changPlugin(); try { $(\"#gsliderCov\").trigger(\"sChange\"); } catch (e) {\r\n }\r\n };\r\n } else {\r\n document.body.onresize = function () { changPlugin(); try { $(\"#gsliderCov\").trigger(\"sChange\"); } catch (e) { } };\r\n }\r\n }else if(IsEdge()){\r\n wsServiceManager.requestService();\r\n isIE = false;\r\n doEvent = doEvent1;\r\n ReSize = function () { try { $(\"#gsliderCov\").trigger(\"sChange\"); } catch (e) { } }\r\n if(H5Live_Edge){\r\n $(\"#plugin\").html('<video name=\"videoElement\" id=\"videoTag\" class=\"centeredVideo\" width=\"100%\" autoplay=\"autoplay\" height=\"100%\"></video><video name=\"audioElement\" id=\"audioTag\" autoplay=\"autoplay\" class=\"centeredAudio\" style=\"display:none;\"></video><div id=\"connectErrorTxt\"></div><div id=\"videoSignGreen\"></div><div id=\"videoSignRed\"></div>');\r\n $(\"video\").bind(\"contextmenu\",function(){//\u53d6\u6d88video \u9f20\u6807\u53f3\u952e\u4e8b\u4ef6\r\n return false;\r\n });\r\n }else{\r\n var prms = {\r\n \"allowFullScreen\": \"true\",\r\n \"allowScriptAccess\": \"sameDomain\"\r\n };\r\n $(\"#plugin\").html('<embed src=\"plugin/FoscamFlashPlayer.swf\" width=\"100%\" height=\"100%\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"true\">');\r\n try {\r\n gDvr.obj = document.getElementsByTagName(\"embed\");\r\n isplugin = true;\r\n } catch (e) {\r\n isplugin = false;\r\n }\r\n }\r\n }else{\r\n //if(browserPlatform != \"macintel\")\r\n wsServiceManager.requestService();\r\n\t\t\t\r\n isIE = false;\r\n doEvent = doEvent1;\r\n ReSize = function () { try { $(\"#gsliderCov\").trigger(\"sChange\"); } catch (e) { } }\r\n checkPlugin();\r\n }\r\n window.onbeforeunload = function (e) {\r\n Logout();\r\n if(browserVer.browsers == \"Internet Explorer\" || IsIE11()){\r\n for(var i=0;i<9;i++){\r\n try{\r\n gDvr.CloseIETab(i);\r\n }catch(e){}\r\n }\r\n }else if(IsFirefox() || IsEdge() || IsChromeSupportNacl() || (browserVer.browsers == \"Safari\" && H5Live_Safari)){\r\n gDvr.closeWebSocketProcess();\r\n }\r\n }\r\n WebInit(DownPluginTip, isIE);\r\n});\r\n</script>\r\n<link href=\"css/main1.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n</head>\r\n<body onselectstart=\"return fbd();\" onresize=\"ReSize()\">\r\n<iframe onload=\"\" id=\"cgiframe\" style=\"display:none\"></iframe>\r\n<iframe onload=\"\" id=\"cgiframe1\" style=\"display:none\"></iframe>\r\n<div id=\"MsgPaop\">\r\n <div id=\"PaopBg\" style=\"height:28px; width:240px; background:url(images/paopaotitie.gif)\">\r\n <div id=\"Paoptitle\" ></div><div class=\"paopao_close\"></div>\r\n </div>\r\n <div id=\"PaopContant\" style=\"height:145px;font-family:'Times New Roman', Times, serif;width:240px;white-space:normal;word-break:break-all; background:#FFF;\"></div>\r\n</div>\r\n<div id=\"MsgPaop1\">\r\n <div id=\"PaopBg1\" style=\"height:28px; width:240px; background:url(images/paopaotitie.gif)\">\r\n <div id=\"Paoptitle1\" ></div><div class=\"paopao_close1\"></div>\r\n </div>\r\n <div id=\"PaopContant1\" style=\"height:145px; width:240px;white-space:normal;word-break:break-all; background:#FFF;\"></div>\r\n</div>\r\n<div type=\"hidden\" name=\"hdvalue\" id=\"hdvalue\" style=\"display:none;\"></div>\r\n<div id=\"MaskLayout\"></div>\r\n<div id=\"VideoMaskLayout\" style=\"display:none;\">\r\n\t<div id=\"textInVideoMask\"style=\"color:white; margin-top:0px;text-decoration:underline;cursor:pointer;\"></div>\r\n</div>\r\n\r\n\r\n<script>MasklayerShow();</script>\r\n<div id=\"login\"></div>\r\n<div id=\"header\" class=\"undisplay\" style=\"background:url(images/con-logo-bg.png); display:none;font-family:Arial;\" headerSt",
"datamd5" : "e428e087161a7da4c6fc7b9ca7d2b7b4",
"datammh3" : -995139833,
"device" : {
"class" : "<enterprise field>: device.class",
"productvendor" : "<enterprise field>: device.productvendor"
},
"domain" : [
"vodafonedsl.it"
],
"geolocus" : {
"asn" : "AS30722",
"continent" : "EU",
"continentname" : "Europe",
"country" : "IT",
"countryname" : "Italy",
"domain" : [
"vodafone.it",
"vodafonedsl.it"
],
"isineu" : "true",
"latitude" : "41.87194",
"location" : "41.87194,12.56738",
"longitude" : "12.56738",
"netname" : "VODAFONE-IT-63",
"organization" : "route for VF DSL subscribers",
"subnet" : "2.36.0.0/15"
},
"host" : [
"net-2-37-176-93"
],
"hostname" : [
"net-2-37-176-93.cust.vodafonedsl.it"
],
"ip" : "2.37.176.93",
"ipv6" : "false",
"latitude" : "45.4087",
"location" : "45.4087,11.9001",
"longitude" : "11.9001",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "Vodafone Italia S.p.A.",
"os" : "Linux Kernel",
"osvendor" : "Linux",
"port" : 83,
"protocol" : "http",
"protocolversion" : "1.1",
"reason" : "OK",
"reverse" : [
"net-2-37-176-93.cust.vodafonedsl.it"
],
"seen_date" : "2024-11-21",
"source" : "datascan",
"status" : 200,
"subdomains" : [
"cust.vodafonedsl.it"
],
"subnet" : "2.32.0.0/12",
"tag" : "<enterprise field>: tag",
"tld" : [
"it"
],
"tls" : "false",
"transport" : "tcp",
"url" : "/"
}