Last active
May 20, 2021 23:20
-
-
Save ahmethakanbesel/16a3a4327bb6f7db4cdc994047db6ad9 to your computer and use it in GitHub Desktop.
Sekme değişince sayfa başlığını değiştirme (jQuery).
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
<script type="text/javascript"> | |
var title = document.title; | |
var alttitle = "Buraya gelir misin lütfen"; | |
window.onblur = function () { document.title = alttitle; }; | |
window.onfocus = function () { document.title = title; }; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment