PageSourceSearch

https://www.sste.cz/js/fb-login.js

js sste.cz collected 2026-10-06 22:56:41 UTC 1,131 bytes, 44 lines download raw bytes

1
2  function fbLogin(){
3    FB.login(function(response) {
4        
5        if (response.status === 'connected') {
6        //post na server
7        $.post("?fblogin",{fblogin:response, ajax:1},function(data){
8            console.log(data);
9            if(data==1){
10                document.location.reload(true);
11            }
12        },'json');
13        
14        } else  {
15            document.getElementById('fb-status').innerHTML =
16              '<p class="alert alert-danger">Přihlášení se nezdařilo</p>';
17        } 
18
19     }, {scope: 'public_profile,email'});
20  };
21  
22  
23
24  
25  function fbEnsureInit(callback) {
26        if(!window.fbApiInit) {
27            setTimeout(function() {fbEnsureInit(callback);}, 50);
28        } else {
29            if(callback) {
30                callback();
31            }
32        }
33    }
34    
35    
36  $(document).ready(function(){
37        fbEnsureInit(function() {
38            FB.getLoginStatus(function(response) {
39                $.post("?fblogin",{fbloginCheck:response, ajax:1},function(data){
40                });
41              });
42        });
43  });
44    

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.