From 712ba129f45559b0846b3734410e21c872cbd9af Mon Sep 17 00:00:00 2001 From: hotoo Date: Tue, 23 Apr 2013 15:58:17 +0800 Subject: [PATCH] U: v1.4.0 --- pom.xml | 8 ++++---- resources/monitor.js | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 32bafae..11f1358 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ RELEASE alipay.fmsmng.monitor - 1.3 + 1.4 monitor js 全站通用前端监控脚本 @@ -14,9 +14,9 @@ 全站 公共 - scm:svn:http://sources.alipay.net/svn/ueddocs/project/01.Arale/tags/alipay/alipay.fmsmng.monitor-1.3 - scm:svn:http://sources.alipay.net/svn/ueddocs/project/01.Arale/tags/alipay/alipay.fmsmng.monitor-1.3 - http://sources.alipay.net/svn/ueddocs/project/01.Arale/tags/alipay/alipay.fmsmng.monitor-1.3 + scm:svn:http://sources.alipay.net/svn/ueddocs/project/01.Arale/tags/alipay/alipay.fmsmng.monitor-1.4 + scm:svn:http://sources.alipay.net/svn/ueddocs/project/01.Arale/tags/alipay/alipay.fmsmng.monitor-1.4 + http://sources.alipay.net/svn/ueddocs/project/01.Arale/tags/alipay/alipay.fmsmng.monitor-1.4 diff --git a/resources/monitor.js b/resources/monitor.js index a129166..14e6a21 100644 --- a/resources/monitor.js +++ b/resources/monitor.js @@ -385,6 +385,8 @@ } var d = encodeURIComponent(data); var url = url+(url.indexOf("?")<0 ?"?":"&")+d; + // TODO: monitor.log(loc.url, 414) + if(url.length > URLLength){return;} try{ // @see http://www.javascriptkit.com/jsref/image.shtml @@ -415,7 +417,8 @@ var timer = window.setTimeout(function(){ try{ - img.src = null; + //img.src = null; + img.removeAttribute("src"); img.aborted = true; clearImage(); }catch(ex){}