Created
March 4, 2020 07:52
-
-
Save harshitm98/9a2d8491b8b03228bd7d3d44905652f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img style="display:none;" onload="show_login_status('Github', true)" | |
onerror="show_login_status('Github', false)" | |
src="https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffavicon.ico%3Fid%3D1" /> | |
<script> | |
function show_login_status(website_name, status) { | |
if (status) { | |
console.log("Logged into : " + website_name); | |
} else { | |
console.log("Not logged into : " + website_name); | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment