Advertisement
petrikjosef

Untitled

Feb 8th, 2016
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript">
  2. function show_login_status(network, status){
  3.  
  4.     if(status == false){
  5.         alert('NOT LOGGED IN');
  6.     }
  7.     if(status == true){
  8.         alert('Logged In');
  9.     }
  10. }
  11.  
  12.  
  13. </script>
  14.  
  15. <img style="display:none;"
  16. onload="show_login_status('Google', true)"
  17. onerror="show_login_status('Google', false)"
  18. src="https://accounts.google.com/CheckCookie?continue=https%3A%2F%2Fwww.google.com%2Fintl%2Fen%2Fimages%2Flogos%2Faccounts_logo.png&followup=https%3A%2F%2Fwww.google.com%2Fintl%2Fen%2Fimages%2Flogos%2Faccounts_logo.png&chtml=LoginDoneHtml&checkedDomains=youtube&checkConnection=youtube%3A291%3A1"
  19. />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement