From 621adb19abff2606cc3e7b638d00bedc04e13602 Mon Sep 17 00:00:00 2001
From: ververcpp
Date: Wed, 4 Nov 2015 22:37:30 +0800
Subject: [PATCH] update to ver 0.8.19
---
CHANGELOG.md | 12 +++
manifest.json | 6 +-
options.html | 10 ++
package.json | 2 +-
popup.html | 12 ++-
public/css/inPage.min.css | 2 +-
public/css/style.min.css | 2 +-
public/js/background.min.js | 2 +-
public/js/popup.min.js | 2 +-
public/js/selection.min.js | 2 +-
public/js/utility.min.js | 2 +-
src/inPage.css | 21 +++--
src/inPage.css.map | 2 +-
src/javascript/background.js | 33 ++++---
src/javascript/popup.js | 29 ++++--
src/javascript/selection.js | 177 ++++++++++++++++-------------------
src/javascript/utility.js | 12 ++-
src/sass/inPage.scss | 28 +++---
src/style.css | 10 +-
19 files changed, 212 insertions(+), 154 deletions(-)
create mode 100644 options.html
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 835f79c..c143c8f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,15 @@
+###ver 0.8.19
++ 修改边栏显示的查词结果被某些网页导航条遮挡的 bug
+
+###ver 0.8.18
++ 由于有道的 https 接口连接不稳定,默认改为 http 接口,添加接口的可选项
+
+###ver 0.8.17
++ 临时版本,暂时修复可能存在的几个 bug
+
+###ver 0.8.16
++ 优化划词选词正则规则
+
###ver 0.8.15
+ 修改 shift 事件没有绑定动态生成元素的 bug (issue #13)
diff --git a/manifest.json b/manifest.json
index c4504ad..f6e4ea4 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,18 +2,22 @@
"manifest_version": 2,
"name": "ChaZD",
- "version": "0.8.15",
+ "version": "0.8.19",
"description": "ChaZD 查字典,简洁易用的英汉字典扩展程序,支持划词哦:)",
"permissions": [
"https://dict.youdao.com/*",
"https://fanyi.youdao.com/*",
+ "http://dict.youdao.com/*",
+ "http://fanyi.youdao.com/*",
"contextMenus",
"tabs",
"storage",
"notifications"
],
+ "options_page": "options.html",
+
"background": {
"persistent": true,
"scripts": [ "public/js/utility.min.js", "public/js/background.min.js" ]
diff --git a/options.html b/options.html
new file mode 100644
index 0000000..d458a07
--- /dev/null
+++ b/options.html
@@ -0,0 +1,10 @@
+
+
+
+
+ ChaZD Options
+
+
+
+
+
\ No newline at end of file
diff --git a/package.json b/package.json
index 9adada4..c7b08ea 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ChaZD",
- "version": "0.8.15",
+ "version": "0.8.19",
"description": "A Chinese-English translator extension for Chrome",
"main": null,
"scripts": {
diff --git a/popup.html b/popup.html
index 12146ab..a24962a 100644
--- a/popup.html
+++ b/popup.html
@@ -18,14 +18,20 @@
Tips: 你可以通过“Ctrl+Shift+F”快速启动词典,
也可以在这里自定义快捷键哦:)
+
+ Tips 2: 如出现无法查词的问题,请在设置中关闭使用 HTTPS 接口
+
不再显示Tips
+