From 00a821bbb6020d81c7bac1547c923ae45c11d7c0 Mon Sep 17 00:00:00 2001 From: justjavac Date: Fri, 7 Nov 2014 16:02:32 +0800 Subject: [PATCH] update changelog --- changelog.md | 8 ++++++++ js/detector.js | 3 +++ js/main.js | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index f34497d..6f94442 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,13 @@ ## 更新日志 +### 1.2.0 + +- 修复 Bootstrap 检测 #36 +- 修复百度统计的bug #20 +- 修复 cnzz 最新版 +- google analytic fixed #13 +- jiathis fixed #21 + ### 1.1.0 - 重新规划目录结构 diff --git a/js/detector.js b/js/detector.js index 106b715..00363e8 100644 --- a/js/detector.js +++ b/js/detector.js @@ -502,6 +502,9 @@ } } + console.log("detector"); + console.log(_apps); + // convert to array var jsonString = JSON.stringify(_apps); // send back to background page diff --git a/js/main.js b/js/main.js index 7e849b2..353bcdb 100644 --- a/js/main.js +++ b/js/main.js @@ -14,7 +14,7 @@ if (head) { var script = document.createElement('script'); - script.type = 'application/x-js'; + script.type = 'text/javascript'; script.src = chrome.extension.getURL('js/detector.js'); var meta = document.createElement('meta');