Skip to content

Commit

Permalink
update to ver 0.8.19
Browse files Browse the repository at this point in the history
  • Loading branch information
ververcpp committed Nov 4, 2015
1 parent 5a97c6e commit 621adb1
Show file tree
Hide file tree
Showing 19 changed files with 212 additions and 154 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
6 changes: 5 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down
10 changes: 10 additions & 0 deletions options.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ChaZD Options</title>
</head>
<body>

</body>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
12 changes: 9 additions & 3 deletions popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,20 @@
Tips: 你可以通过“Ctrl+Shift+F”快速启动词典,
也可以在<span id="key-set" class="link">这里</span>自定义快捷键哦:)
</p>
<p>
Tips 2: 如出现无法查词的问题,请在设置中关闭使用 HTTPS 接口
</p>
<div id="turn-off-tips">不再显示Tips</div>
</div>

<div class="setting-block" id="settings">
<div class="top-menu">
<input type="checkbox" name="linkQuery" id="linkQuery"><label for="linkQuery">使用Shift辅助链接划词</label>
<br>
<a href="#" title="如果想对某个链接上的单词进行划词,为避免无法取词的问题,可以按住shift键,此时链接会变成可取词的状态,这样就可以轻松划词查词啦:)" class="link-query-help">(鼠标悬停查看说明)</a>
<input type="checkbox" name="linkQuery" id="linkQuery"><label for="linkQuery">使用 shift 辅助链接划词</label>
<a href="#" title="如果想对某个链接上的单词进行划词,为避免无法取词的问题,可以按住shift键,此时链接会变成可取词的状态,这样就可以轻松划词查词啦:)" class="link-query help">(鼠标悬停查看说明)</a>
</div>
<div class="top-menu">
<input type="checkbox" name="useHttps" id="useHttps"><label for="useHttps">开启 HTTPS 接口</label>
<a href="#" title="如果出现无法查词的问题,建议关闭此选项" class="link-query help">(说明)</a>
</div>
<hr class="carved">
<div class="top-menu">
Expand Down
2 changes: 1 addition & 1 deletion public/css/inPage.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 621adb1

Please sign in to comment.