Skip to content

Commit

Permalink
Fix issues on HTTPS sites
Browse files Browse the repository at this point in the history
  • Loading branch information
xhacker committed Apr 1, 2016
1 parent 49b87fc commit 4b259ae
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
13 changes: 12 additions & 1 deletion config.codekit
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
"creatorBuild": "19102",
"creatorBuild": "19115",
"files": {
"\/background.html": {
"fileType": 8192,
Expand Down Expand Up @@ -147,6 +147,17 @@
"outputPathIsSetByUser": 0,
"processed": 0
},
"\/img\/alipay-qr.png": {
"fileType": 32768,
"ignore": 0,
"ignoreWasSetByUser": 0,
"initialSize": 25405,
"inputAbbreviatedPath": "\/img\/alipay-qr.png",
"outputAbbreviatedPath": "\/img\/alipay-qr.png",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0,
"processed": 0
},
"\/img\/select.png": {
"fileType": 32768,
"ignore": 0,
Expand Down
2 changes: 1 addition & 1 deletion include/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function show_def(word) {
*/

$.ajax({
url: "http://halo.xhacker.im/webster/query/" + word,
url: webster_url + word,
dataType: "xml",
success: function(data) {
var entry_list = $(data).find("entry_list")
Expand Down
3 changes: 2 additions & 1 deletion include/common.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
var youdao_url = "http://halo.xhacker.im/youdao/query/";
var webster_url = "https://halo.xhacker.im/webster/query/";
var youdao_url = "https://halo.xhacker.im/youdao/query/";
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Halo Word Dictionary",
"short_name": "Halo Word",
"version": "0.6.7",
"version": "0.6.8",
"manifest_version": 2,

"description": "精巧易用的英汉字典,界面简洁舒适。包含单词表、划词查询、右键查询等功能。Enjoy!",
Expand Down

0 comments on commit 4b259ae

Please sign in to comment.