In short: how many people know that the Russian Railways site
ticket.rzd.ru is not very pleasant - you need to poke too much with the mouse to find out the prices of tickets for different trains. The expansion of
RZD + for Chrome can make the buying process on the Russian Railways website a bit easier - now when buying a ticket in the train selection step, just click on the “Info” button on the right side of the train description to view information about prices and the number of places of different types in the selected train.
Details: since I often travel to St. Petersburg and back, I have to buy tickets at
ticket.rzd.ru . Most annoying is that the search for tickets gives out a list of trains, but to see prices and number of seats, you have to choose a train, click on the "continue" button, wait for the page to load, and if you don’t like it (or want to see other options), click "back "... well, in general, you understand. WTF?
In a passionate rush to make the world a better place, which happened to me on Sunday,
RZD + was born - an extension of Google Chrome that can make life a little easier. At least there is such a hope. The “Info” button now appears in the train list in each line. Clicking on the button can be on the same page, without going anywhere, look at the price plug and the number of seats for each type of car (coupe, reserved seat, etc.).
There is little space in this table, so in short format: first the letter indicating the type of the car, then the fork prices and free places for the top, bottom, top side, bottom side and other (sedentary) in order. Until it occurred to me, how to display this information is more readable. Therefore, I made a tooltip that shows everything beautifully and in detail:
')

How it works: a rather fragile system, to be honest. RZD + simulates clicking on the “continue” button, which is a form.submit with the data of the selected train, parsing the incoming html, finds the necessary information, and simulates pressing “back”, which is again form.submit with the parameter back = 1. I am delighted with this system, yeah. If you do not “press” back, the system thinks that I am already on the page for choosing a specific car in the selected train and already want to buy a ticket. Therefore, it is possible to receive information about trains only sequentially - first one, then the second ... In order not to load information about all trains automatically for a long time, I decided - let the user choose what is interesting and decide which train he would like to receive more detailed information.
It is clear that any wrong movement from the developers of the Russian Railways site and the system will break. I will twist as needed and possible.
You can install from here:
https://chrome.google.com/extensions/detail/lnmdhgidgbjcfejcedhgldamgnlajohaEnjoy!
Suggestions for improvement, criticism, other feedbacks - welcome.
UPD : The extension does not change the website
pass.rzd.ru , I think some people confuse it with
ticket.rzd.ru , for which the extension was created. I see in the comments to the extension of the message that the "Info" button does not appear on versions 7 and 9. I checked version 9.0.572.1 on Mac and 9.0.576.0 on Win 7, I could not repeat the error. If someone reproduces, please leave detailed reports - how to repeat, Chrome version and OS.