Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to list the open tabs in Firefox from the command line?

share|improve this question
up vote 4 down vote accepted

The idea would be to access Firefox data from the 'outside'. You might want to look at Stack Overflow question How can I get list of open tabs in Firefox via a command-line application?.

share|improve this answer
2  
Ahhh - the sessionstore.js (JSON) file in your FF profile does seem to contain the appropriate list. Albeit inside a lot of noise. Seems structured enough to parse out though. Thanks for the link. – kenny Apr 11 '11 at 16:31
    
Heh - as soon as I get 15 rep, I'll drop back and +1 you :) – kenny Apr 11 '11 at 17:58

According to the mozilla site, no. https://developer.mozilla.org/En/Command_Line_Options

Although you could write a plugin to write tab names to a text file I guess.

share|improve this answer
    
Thanks, I think your answer is the "right" one from a supported standpoint. But, hack > nothing. – kenny Apr 11 '11 at 18:15
    
No worries :) happy hacking – n0pe Apr 11 '11 at 19:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .