殷德瑶博客
喜欢的歌,静静地听!喜欢的人,远远地看!

EMLOG标题动态效果

殷德瑶 2016-8-1 emlog教程 评论 1443 次

<script type="text/javascript">// <![CDATA[
    jQuery(document).ready(function() {
    	function d() {
    		document.title = document[b] ? "(´・_・) 不喜欢人家啦?!" : a
    	}
    	var b, c, a = document.title;
    	"undefined" != typeof document.hidden ? (b = "hidden", c = "visibilitychange") : "undefined" != typeof document.mozHidden ? (b = "mozHidden", c = "mozvisibilitychange") : "undefined" != typeof document.webkitHidden && (b = "webkitHidden", c = "webkitvisibilitychange"), ("undefined" != typeof document.addEventListener || "undefined" != typeof document[b]) && document.addEventListener(c, d, !1)
    });
    
// ]]></script>


直接添加在footer




发表评论


粤ICP备15078261号 Powered by 黑暗之夜
Theme by 殷德瑶博客