Instantly share code, notes, and snippets.

Embed
What would you like to do?
No boundaries: Snippet from ntvk1.ru script (https://gist.github.com/englehardt/8a25d7b7f6aa3c080e73b896933c710c)
    socials = {
        vk: function() {
            window.VK && VK.Auth && VK.Auth.getLoginStatus && VK.Auth.getLoginStatus(util.catchErrors(function(t) {
                "connected" == t.status && null !== t.session && sendFingerprint("vk:vkjs", t.session.mid)
            }))
        },
        fb: function() {
            window.FB && window.FB.getLoginStatus && FB.getLoginStatus(util.catchErrors(function(t) {
                "unknown" != t.status && "not_authorized" != t.status && sendFingerprint("fb:fbjs.loginstatus", t)
            }))
        }
    };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment