一段js切换网站title标题的代码~

<script>
    document.addEventListener('visibilitychange', function () {
      if (document.visibilityState == 'hidden') {
          normal_title = document.title;
          document.title = '你有正在进行的操作哦!';
      } else document.title = normal_title;
    });
</script>

标签页选中状态
kevin1.png

标签页未选中状态
kevin2.png

Comments : 3

  1. 哈哈

    哈哈哈

  2. Lesmeerty

    Cout Levitra 10 Mg Orodispersible http://cialibuy.com - Buy Cialis Amoxicilina For Sale On Line Pharmacy cialis Zovirax

  3. KelAssure

    Propecia Drug Interactions http://cialibuy.com - generic cialis from india Viagra Y Cerveza Buy Cialis Levothyroxine 100 Mcg Buy

发表留言

人生在世,错别字在所难免,无需纠正。