Skip to content

Commit

Permalink
5.0.2 released.
Browse files Browse the repository at this point in the history
  • Loading branch information
iccfish committed Jun 24, 2013
1 parent 84f08ae commit f63b23a
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 39 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,12 @@
* 修正当用户名输入错误时,助手仍反复重试的BUG


**版本:5.0.2**
* 修正提交订单时不停止检查余票数的BUG
* 取消排队人数过多时自动重试,防止被强制退出登录
* 修正兼容性版本标记,添加允许隐藏不兼容提示的设置


官方网站
---------------------

Expand Down
2 changes: 1 addition & 1 deletion sogou/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<name>12306订票助手</name>
<show_icon>true</show_icon>
<description>帮您在极速模式下订票的助手</description>
<version>5.0.1</version>
<version>5.0.2</version>
<request_api_version>1</request_api_version>
<author>木鱼(www.fishlee.net)</author>
<background page="background.html" />
Expand Down
22 changes: 10 additions & 12 deletions src/12306_ticket_helper.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// @match https://www.12306.cn/otsweb/*
// @icon http://www.12306.cn/mormhweb/images/favicon.ico
// @run-at document-idle
// @version 5.0.1
// @version 5.0.2
// @updateURL http://static.fishlee.net/_softdownload/12306_ticket_helper.user.js
// @supportURL http://www.fishlee.net/soft/44/
// @homepage http://www.fishlee.net/soft/44/
Expand All @@ -21,18 +21,17 @@

//=======START=======

var version = "5.0.1";
var version = "5.0.2";
var updates = [
"* 修正余票查询的时候部分的余票数不显示",
"* 修正兼容性版本标记,添加允许隐藏不兼容提示的设置",
"* 精简界面选项,将部分功能作为内置功能不再提供功能开关『记住信息』、『自从重新预定』、『查询失败时自动重试』",
"* 修正当用户名输入错误时,助手仍反复重试的BUG"
"* 修正提交订单时不停止检查余票数的BUG",
"* 取消排队人数过多时自动重试,防止被强制退出登录",
"* 修正兼容性版本标记,添加允许隐藏不兼容提示的设置"
];

var faqUrl = "http://www.fishlee.net/soft/44/faq.html";
//标记
var utility_emabed = false;
var compVersion = "5.81";
var compVersion = "5.83";


//#region -----------------UI界面--------------------------
Expand Down Expand Up @@ -1681,7 +1680,7 @@ function initAutoCommitOrder() {
}

randEl[0].blur();
//$(document).trigger("stopcheckcount");
$(document).trigger("stopcheckcount");
if (!window.submit_form_check || !submit_form_check("confirmPassenger")) {
setCurOperationInfo(false, "您的表单没有填写完整!");
stop("请填写完整表单");
Expand Down Expand Up @@ -1733,13 +1732,12 @@ function initAutoCommitOrder() {
ticket: $("#left_ticket").val()
};
utility.get(getQueueCountUrl, queryLeftData, "json", function (data) {
console.log(data);
if (data.op_2) {
var errmsg = "系统说人多,不许买彩票了,看起来没办法了……等下再去看看服务器的心情 (据说人数=" + data.count + ")";
var errmsg = "系统说人多,不许买彩票了,看起来没办法了……重新输入验证码试试 (据说人数=" + data.count + ")";
setCurOperationInfo(true, errmsg);
stop(errmsg);

utility.delayInvoke(null, queryQueueCount, 1000);
reloadCode();
return;
}

Expand Down Expand Up @@ -2012,7 +2010,7 @@ function initAutoCommitOrder() {
beginCheck();
})();
} else {
$("span.leftTicketStatusSpan").html("(暂不支持查询)");
$("span.leftTicketStatusSpan").html("(暂不支持查询或已禁用,<button class='fish_button resetFuncFlag' data-function='ontimeleftticket'>重新启用</button>)");
}

if (!utility.isfeatureDisabled("ontimequeuecount")) {
Expand Down
Binary file modified src/def.json
Binary file not shown.
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"description": "帮您订票的小助手 by 木鱼 :-)",
"key": "7k6gnXVACvUPU2DfslJgSrWJTHqIg5uwd+Kgl/5zSg==",
"name": "12306 订票助手 for Chrome",
"version": "5.0.1",
"version": "5.0.2",
"manifest_version": 2,
"icons": {
"16": "icons/icon_16.png",
Expand Down
4 changes: 2 additions & 2 deletions update_liebao.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="5.0.1" encoding='UTF-8'?>
<?xml version="5.0.2" encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='iojocdfolilckogkigiahnjfmpjinobl'>
<updatecheck codebase='http://www.fishlee.net/Service/Download.ashx/44/69/12306_ticket_helper_for_liebaobrowser.crx' version="5.0.1" />
<updatecheck codebase='http://www.fishlee.net/Service/Download.ashx/44/69/12306_ticket_helper_for_liebaobrowser.crx' version="5.0.2" />
</app>
</gupdate>
4 changes: 2 additions & 2 deletions update_taobao.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="5.0.1" encoding='UTF-8'?>
<?xml version="5.0.2" encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='iojocdfolilckogkigiahnjfmpjinobl'>
<updatecheck codebase='http://www.fishlee.net/Service/Download.ashx/44/63/12306_ticket_helper.crx' version="5.0.1" />
<updatecheck codebase='http://www.fishlee.net/Service/Download.ashx/44/63/12306_ticket_helper.crx' version="5.0.2" />
</app>
</gupdate>
4 changes: 2 additions & 2 deletions updateinfo.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="5.0.1" encoding='UTF-8'?>
<?xml version="5.0.2" encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='iojocdfolilckogkigiahnjfmpjinobl'>
<updatecheck codebase='http://www.fishlee.net/Service/Download.ashx/44/63/12306_ticket_helper.crx' version="5.0.1" />
<updatecheck codebase='http://www.fishlee.net/Service/Download.ashx/44/63/12306_ticket_helper.crx' version="5.0.2" />
</app>
</gupdate>
11 changes: 5 additions & 6 deletions version.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
var version_12306_helper = "5.0.1";
var version_12306_helper_beta = "5.0.1";
var version_12306_helper = "5.0.2";
var version_12306_helper_beta = "5.0.2";
var version_updater = [
"* 修正余票查询的时候部分的余票数不显示",
"* 修正兼容性版本标记,添加允许隐藏不兼容提示的设置",
"* 精简界面选项,将部分功能作为内置功能不再提供功能开关『记住信息』、『自从重新预定』、『查询失败时自动重试』",
"* 修正当用户名输入错误时,助手仍反复重试的BUG"
"* 修正提交订单时不停止检查余票数的BUG",
"* 取消排队人数过多时自动重试,防止被强制退出登录",
"* 修正兼容性版本标记,添加允许隐藏不兼容提示的设置"
];
var fishlee12306_msgid=17;
var fishlee12306_msgver="4.6.2";
Expand Down
11 changes: 5 additions & 6 deletions version_liebao.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
var version_12306_helper = "5.0.1";
var version_12306_helper_beta = "5.0.1";
var version_12306_helper = "5.0.2";
var version_12306_helper_beta = "5.0.2";
var version_updater = [
"* 修正余票查询的时候部分的余票数不显示",
"* 修正兼容性版本标记,添加允许隐藏不兼容提示的设置",
"* 精简界面选项,将部分功能作为内置功能不再提供功能开关『记住信息』、『自从重新预定』、『查询失败时自动重试』",
"* 修正当用户名输入错误时,助手仍反复重试的BUG"
"* 修正提交订单时不停止检查余票数的BUG",
"* 取消排队人数过多时自动重试,防止被强制退出登录",
"* 修正兼容性版本标记,添加允许隐藏不兼容提示的设置"
];
var fishlee12306_msgid=17;
var fishlee12306_msgver="4.6.2";
Expand Down
11 changes: 5 additions & 6 deletions version_taobao.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
var version_12306_helper = "5.0.1";
var version_12306_helper_beta = "5.0.1";
var version_12306_helper = "5.0.2";
var version_12306_helper_beta = "5.0.2";
var version_updater = [
"* 修正余票查询的时候部分的余票数不显示",
"* 修正兼容性版本标记,添加允许隐藏不兼容提示的设置",
"* 精简界面选项,将部分功能作为内置功能不再提供功能开关『记住信息』、『自从重新预定』、『查询失败时自动重试』",
"* 修正当用户名输入错误时,助手仍反复重试的BUG"
"* 修正提交订单时不停止检查余票数的BUG",
"* 取消排队人数过多时自动重试,防止被强制退出登录",
"* 修正兼容性版本标记,添加允许隐藏不兼容提示的设置"
];
var fishlee12306_msgid=17;
var fishlee12306_msgver="4.6.2";
Expand Down
2 changes: 1 addition & 1 deletion webstore/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"description": "\u5e2e\u60a8\u8ba2\u7968\u7684\u5c0f\u52a9\u624b by \u6728\u9c7c :-)",
"name": "12306 \u8ba2\u7968\u52a9\u624b for Chrome",
"version": "5.0.1",
"version": "5.0.2",
"manifest_version": 2,
"icons": {
"16": "icons/icon_16.png",
Expand Down

0 comments on commit f63b23a

Please sign in to comment.