Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers

up vote 3 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
add comment

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 –  MaxMackie Apr 11 '11 at 19:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.