我正在開發Chrome瀏覽器的擴展程序,該程序會在瀏覽器上記錄一些用戶活動以便後續處理該信息,並且需要保存相關信息當被跟蹤的用戶在該網站的瀏覽器基本認證對話框上輸入其用戶和密碼時,基本的http認證。來自Chrome擴展程序的網站的日誌授權(基本摘要..)
這是我所需要的數據:
Authorization url
A partial or complete URL that matches one or more HTTP Request URLs
Ex: www.urlbase.com
Authorization username
The username to authorize.
Ex: admin
Authorization password
The password for the user
Ex: 123456
Authorization domain
The domain to use for NTLM.
Authorization realm
The realm to use for NTLM.
我所遇到:
https://developer.chrome.com/apps/app_identity
https://developer.chrome.com/extensions/privacy
https://developer.chrome.com/extensions/certificateProvider
https://developer.chrome.com/extensions
但他們都不到,甚至談http認證
真的有任何方式從Chrome擴展API或從Javascript獲取該信息?