Answer the question
In order to leave comments, you need to log in
Mail.ru API: How to change the default "Sign in with Mail.ru" button?
Greetings, habralyudi!
I do authorization on my site through Mail.ru. I can't figure out how to change their standard "Sign in with Mail.ru" button to my own (like it's done on groupon.ru, for example). Tell me please.
Answer the question
In order to leave comments, you need to log in
Haven't worked with this api, but I'll venture a guess that it's done via CSS.
Yes, in general, nothing complicated. Something like this:
function mailLogin() { mailru.loader.require('api', function() { mailru.connect.init(MAIL_API_ID,'MAIL_API_PRIVATE'); mailru.connect.getLoginStatus(function(session){ window.location.reload(); }); }); }
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question