Networking Forums

Networking Forums > Computer Networking > Linux Networking > Firefox/Mozilla command line auth

Reply
Thread Tools Display Modes

Firefox/Mozilla command line auth

 
 
Synic
Guest
Posts: n/a

 
      04-07-2005, 11:53 AM
Hi all. I'm trying to get Firefox to open a URL from the command
line which requires a login to a htaccess zone.

With lynx, you'd use:

lynx -auth=usernameassword https://somesite.com/securedir/

With earlier Mozilla, you could get away with:

mozilla -remote "openurl(https://user(E-Mail Removed)/securedir/)"

Is there any way to pass the username and password to Firefox without
a dialog box appearing?

(This is for use in a screenshot capture script using a virtual X
server so it can't be interacted with by a user once Firefox starts.)

Thanks.

 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      04-07-2005, 12:16 PM
On 2005-04-07, Synic <flavp+(E-Mail Removed)> wrote:
> With earlier Mozilla, you could get away with:
> mozilla -remote "openurl(https://user(E-Mail Removed)/securedir/)"
>
> Is there any way to pass the username and password to Firefox without
> a dialog box appearing?


It works for me just passing the URL without the '-remote' part.
Davide

--
Linux: Because rebooting is for adding new hardware
 
Reply With Quote
 
Synic
Guest
Posts: n/a

 
      04-07-2005, 02:40 PM
Davide Bianchi <(E-Mail Removed)> wrote:
> On 2005-04-07, Synic <flavp+(E-Mail Removed)> wrote:
>> With earlier Mozilla, you could get away with:
>> mozilla -remote "openurl(https://user(E-Mail Removed)/securedir/)"
>>
>> Is there any way to pass the username and password to Firefox without
>> a dialog box appearing?

>
> It works for me just passing the URL without the '-remote' part.


Using -remote is necessary as the Mozilla team have had an unresolved
bug relating to -geometry, -width and -height command-line arguments
since 2000 or so (and preloading a Javascript page which sets them is
the only work-around).

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add an ip to a NIC (from the command line)? gst Windows Networking 1 10-01-2008 02:42 PM
playing real-stream on firefox/mozilla virtualspy3@yahoo.com Linux Networking 0 03-28-2005 08:57 AM
mail command | view local machine mail with Mozilla @(none) Linux Networking 1 10-17-2004 10:42 AM
command line Rupert Windows Networking 2 10-20-2003 07:23 PM
Mozilla can do it, why can't command-line ftp? andrew williams Linux Networking 3 07-30-2003 09:02 PM



1 2 3 4 5 6 7 8 9 10 11