Skip to content

Instantly share code, notes, and snippets.

@englehardt
Created April 11, 2018 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save englehardt/65d2959be03bfafdc1c25d57965f4539 to your computer and use it in GitHub Desktop.
Save englehardt/65d2959be03bfafdc1c25d57965f4539 to your computer and use it in GitHub Desktop.
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