UPD: The script is outdated, it no longer works and is not supported. Try using newer ones,
like this one .

Hello, dear habrasoobschestvu!
Today I want to share with you one, very useful, in my opinion, script. If you already understand everything from the picture to attract attention, here is a
link .
')
I think many here, like me, have an account in the popular social network vkontakte. Whether you use it or not, love it or not, the matter is purely yours. However, it seems to me that everyone will agree that vkontakte is somehow useful. For example, I now know when my friends have a birthday (I like to make people happy, congratulating them on this holiday, but I have a very bad memory for dates). Despite the convenience of placing birthdays in one place, the VKontakte is clearly not going to miss the potential users of this function - there are no notifications about upcoming events, that is, to observe the events, you need to “be on Facebook. This restriction seems quite annoying, but for us, programmers, masters of information, such restrictions are only a task that is interesting to solve.
First, you should decide what you would like to receive as a result. For me it was a notification about upcoming events in the mail, and also, perhaps, viewing the list of events, which is always “at hand”. Since I am an active user of Google services, it was Google Calendar that was chosen as an alternative to the calendar in Contact.
Advantages of this solution:
- ability to add multiple notifications (mail, sms)
- integration with other Google web services (gmail, igoogle)
- ability to import calendar from file
Actually, the last item made it possible to transfer dates from to Contact to Google Calendar.
Immediately make a reservation, I initially did the script for myself and for myself. Therefore you should not blame me for the (possible) absence of cross-browser compatibility or something else. The script is essentially one-time, so, as it seems to me, those who really need can even install a “foreign” browser, greasemonkey, execute the script, delete and forget.
System recommendations
(on this configuration, the working capacity of the script was tested):
- Firefox 3.5.5
- Greasemonkey 0.8.2
User's manual:
- Install the script from here
- We go to the site http://vkontakte.ru , log in
- We right-click on the makeup icon, select “Script Commands”, then “Get Birthdays!”
- A friend list form should appear.
- We select the necessary (or all) friends and click "Export"
- We are waiting, for a long time, I understand, but on VK there is a certain limitation on the speed of opening pages of the same type, I once got caught while debugging a script. Therefore (1.5 seconds + download speed + processing speed) to one another.
- After the processing of all selected friends is completed, you will be prompted to save the file with an unreadable name. This is a list of events in iCal format.
- Go to Google Calendar.
- Select the "Settings" item under the list of calendars
- Choose item “Import calendar”, you can pre-create a new calendar specifically for birthdays.
- Enjoy new events on your calendar.
Remarks
I repeat, the script was written for myself. Initially, there was not even that primitive interface, which is now.
Intermediate file in iCal format. At least, Google understands it. This format was obtained by me by examining the sources of the calendar file exported from Google, and by removing some “unnecessary fields” from there. The file extension must be .ics, but this is not necessary for import.
In the body of the script you can find the jQuery library. Yes, I put it there completely.
The script can slow down the browser on weak machines.
I recommend to remove or disable the script after use, because the script is relatively heavy and is loaded for the entire domain vkontakte.ru.Actually, everything. If you have any questions or suggestions, please.
updSolution from
Putin for Chrome