<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          session.js用戶會話信息獲取

          聯(lián)合創(chuàng)作 · 2023-09-22 14:29

          Session.js - Get user session information

          示例代碼:

          <script type='text/javascript'>
            window.session = {
            options: { gapi_location: true },
            start: function(session){ // can also use window.session global.
              if (session.first_session.visits > 1){
                alert('Hi again from ' + session.location.address.city);
              } else {
                if (session.current_session.referrer_info.host.contains('facebook')){
                  alert('Hi there from '+ session.location.address.city +'. How about liking us on facebook?');
                } else if (session.current_session.search.engine){
                  alert('Did you find what you were looking for from ' + session.current_session.search.engine + '?');
                }
              }
            }
          }
          </script>
          <script type='text/javascript' src="http://codejoust.github.com/session.js/session-0.4.js"></script>
          瀏覽 14
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  成人超碰 | 影音先锋男人站资源 | 一道本无码一区 | 黄色无码免费网站 | 污污污午夜 |