This is not my work. it's his @iccfish job. (git://github.com/iccfish/12306_ticket_helper.git) The official extension can be found at chrome web store http://goo.gl/2CZ1C ( https://chrome.google.com/webstore/detail/12306-%E8%AE%A2%E7%A5%A8%E5%8A%A9%E6%89%8B-for-chrome/idjgmabfihmhmojipdkcackbihbdceno )
I'm just manually updating the scripts to record the diffs that TDB had done (which is making no sense at all)! The unpacked code from the offical crx (chrome extension) file is in ./chrome/ , crx files also archived in ./bak/ .
Some historic versions are from https://github.com/goodbest/12306_helper Who says himself "is just manually updating the scripts to record the diffs that TDB had done (which is making no sense at all)!"
http://www.fishlee.net/service/update/44/version.js http://www.fishlee.net/Service/Download.ashx/44/47/12306_ticket_helper.user.js http://www.fishlee.net/Service/Download.ashx/44/63/12306_ticket_helper.crx
getUpdateUrl: function () {
var ua = navigator.userAgent;
if (ua.indexOf(" SE ") > 0) return "http://www.fishlee.net/Service/Download.ashx/44/68/12306_ticket_helper.sext";
else if (ua.indexOf("Maxthon") > 0 && ua.indexOf("Macintosh") == -1) return "http://www.fishlee.net/Service/Download.ashx/44/62/mxaddon.mxaddon";
else if (ua.indexOf("LBBROWSER") > 0) return "http://www.fishlee.net/Service/Download.ashx/44/69/12306_ticket_helper_for_liebaobrowser.crx";
else if (ua.indexOf("Firefox") > 0) return "http://www.fishlee.net/Service/Download.ashx/44/47/12306_ticket_helper.user.js";
else return "http://www.fishlee.net/Service/Download.ashx/44/63/12306_ticket_helper.crx";
},