【发布时间】:2016-12-05 08:43:46
【问题描述】:
我正在开发 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 auth。
真的有任何方法可以从 chrome 扩展 API 或 Javascript 获取该信息吗?
【问题讨论】:
标签: javascript google-chrome google-chrome-extension