The storyseesu.me is an awesome online media player or radio or whatever you call it. Just give it try.
dwb is a minimalistic vim-imsnpired browser.
And vk.com is popular (at least in xUSSR countries) social network.
What brings them all here is that there is large music collection available on vk.com which can be very nicely listened to with seesu.me. But me problem was that vk login button wasn't working in dwb browser.
The solutionIn short i needed to do the following:
- open dev console (dwb is based in webkit, so there is on) to find the login button
- check if clicking on it programatically would work
- if yes, all done - i'll login to vk, login will be remembered and nothing to worry about
After that dev console popped up on :wi command, but unfortunately each time it shows up it crashes the whole browser.
I had to pick firefox to check if triggering click programmatically would do the trick and it really did. Invoking $('.sign-in-to-vk').click() in dev console was at least triggering popup blocker and then i was able to reach the popup (BTW popup blocker was veeery important here).
After that repeating JS snipped worked like a charm.