1.獲取網站的title document.title //獲取頁面的標題 2.獲取網站的ico window.location.protocol+"//"+window.location.host + "/favicon.ico"; //獲取頁面icon