2014-07-09-164511_
[12306_ticket_helper.git] / README.md
blobf70ffaa961b093798b8879d53067c9afd4f6cb2b
1 12306_ticket_helper_iccfish
2 ===========================
4 This is not my work. it's his @iccfish job. (git://github.com/iccfish/12306_ticket_helper.git)
5 The official extension can be found at chrome web store http://goo.gl/2CZ1C
6 ( https://chrome.google.com/webstore/detail/12306-%E8%AE%A2%E7%A5%A8%E5%8A%A9%E6%89%8B-for-chrome/idjgmabfihmhmojipdkcackbihbdceno )
8 I'm just manually updating the scripts to record the diffs that TDB had done (which is making no sense at all)!
9 The unpacked code from the offical crx (chrome extension) file is in ./chrome/ , crx files also archived in ./bak/ .
11 Notes
12 =====
13 Some historic versions are from https://github.com/goodbest/12306_helper
14 Who says himself "is just manually updating the scripts to record the diffs that TDB had done (which is making no sense at all)!"
16 Current URL used
17 ================
18 http://www.fishlee.net/service/update/44/version.js
19 http://www.fishlee.net/Service/Download.ashx/44/47/12306_ticket_helper.user.js
20 http://www.fishlee.net/Service/Download.ashx/44/63/12306_ticket_helper.crx
22         getUpdateUrl: function () {
23                 var ua = navigator.userAgent;
24                 if (ua.indexOf(" SE ") > 0) return "http://www.fishlee.net/Service/Download.ashx/44/68/12306_ticket_helper.sext";
25                 else if (ua.indexOf("Maxthon") > 0 && ua.indexOf("Macintosh") == -1) return "http://www.fishlee.net/Service/Download.ashx/44/62/mxaddon.mxaddon";
26                 else if (ua.indexOf("LBBROWSER") > 0) return "http://www.fishlee.net/Service/Download.ashx/44/69/12306_ticket_helper_for_liebaobrowser.crx";
27                 else if (ua.indexOf("Firefox") > 0) return "http://www.fishlee.net/Service/Download.ashx/44/47/12306_ticket_helper.user.js";
28                 else return "http://www.fishlee.net/Service/Download.ashx/44/63/12306_ticket_helper.crx";
29         },
31 Offical Repo
32 ============
33 https://github.com/iccfish/12306_ticket_helper