Answer the question
In order to leave comments, you need to log in
How to log out Air application from vk with resetting cookies?
The Air application for working with VKontakte logs in and receives permissions, while cookies are set .vk.com
. To change the user, you need to remove these cookies that Air stores in the system, and some browsers use them, for example. safari. The WebKit security model used by Air does not allow locally slipped JS to execute, which I could take down certain cookies.
There were mentions of a link on the net oauth.vk.com/logout
, visiting which resets cookies in the browser. However, with Air HTMLLoader, that address has some inconsistencies: an empty page and no redirects, although they should.
The options I see. All curves:
URLLoader
'a, instead HTMLLoader
of 'a on oauth.vk.com/logout
- works until VK changed scripts/links. This is a crutch, because. not documented and used only by scripts from VK.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question