我有一个网站,我需要使用用户和密码登录,如下所示:
所以,我几乎使用这个命令解决了这个问题:
Command: open
Target: https://user@password@URL
示例:
https://user@domain.com@password@google.com
问题是Firefox仍然希望我通过显示以下内容来确认登录:
有没有办法在Firefox中绕过或禁用此确认?
答案 0 :(得分:1)
基本上这种确认没有提出其他浏览器。对于Firefox,您需要进行某些配置设置,以便不会出现pop,请在浏览器中进行以下设置,
Navigate to the URL about:config.
Click past the warning of harmful consequences.
Type negotiate-auth into the filter at the top of the page, in order to remove most of the irrelevant settings from the list.
Double-click on network.negotiate-auth.trusted-uris. A dialogue box for editing the value should appear.
Enter the required hostname(s) and/or URL prefix(es) then click OK.
这一切。希望这对你有用.. :))