This morning, a classmate asked me to help him grab a train ticket for June October 1. This task is really arduous. Based on the experience in ticket grabbing over the past few years, it must have been a lifetime.
Log on to the account, add the contact information, select the date, select the number of trains, and then automatically check the ticket. Each time the ticket is refreshed every 5 seconds.
All those who have snatched a ticket know that they have lost the ticket in two or three seconds. If they get the ticket once in five seconds, they will not be able to get the ticket for the first time. There is no way to open a few more pages. At this time, the programmer's disease has committed again. Can I adjust the refresh time by modifying JS? It must be OK. It is difficult to modify anything. Open the debugging panel and search for "5000" under the elements tab. I am relying on it. It's not that easy.
Go to the console tag and enter console. debug (autosearchtime). The output is indeed 5000. No problem. You have changed it directly on the console. autosearchtime = 1000; console. debug (autosearchtime); there is no problem with the change.
Then, let's look at the results and see how it works. It's successful. Refresh Every 1 second. It seems that 12306 will change the implementation method soon.
This is the focus of my speech. This caused me to think about other things. The idea was to come up with a demand, but this kind of solution must have existed. I never believed that I could come up with something that someone else did not think. Baidu has already had many solutions. It can be seen from this that many entrepreneurs think of a wonderful idea. In fact, there have been a lot of mature products before. Even if you didn't research similar products, then you will find similar products and don't yell at others to copy you. The idea has never been unique, you can't afford it. A good idea in today's society has never been fundamental to entrepreneurship, and it is not so valuable. We are always too young too simple and wish you a better future.
If you open your account on time at, just take a second and advise passengers in need not to be so aggressive.
Thoughts on ticket snatching (transfer)