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.

If I have a Firefox window open that contains 10 tabs, is there a way in Firefox or by a plug-in to get the URLs of those 10 tabs as a text file or some other format?

Right now if I want to do this I need to copy the URL of tab A, paste it somewhere, move to tab B, and repeat. I could also bookmark all the tabs into a folder and export that, but that seems like such a hassle.

If there is no such method, could someone point me to some documents that describe the basics of writing a Firefox plug-in. I am willing to write this myself if there is no "standard" way.

share|improve this question
    
The dupe has been deleted, for people wanting to close it as such :) –  Ivo Flipse Jan 18 '10 at 9:52
add comment

5 Answers

Go to Tools > Options.

In the General tab look for the Use Current Pages button in the Startup section. When you click on the Use Current Pages button, all the URLs of the pages open in different tabs are copied to the Home Page text box with a pipe delimiter. Copy the text to get all the URLs.

The keyboard shortcut to simulate clicking on the Use Current Pages button is Alt+T+O+C (tested in Firefox 14)

share|improve this answer
1  
This action can also be easily reversed, just hit ctrl-z to undo the change and whatever was in the textbox previously will be restored. Now you don't have to install a plugin. –  kurtzbot Jun 17 '13 at 22:38
2  
+1 for a FireFox only solution (no plug-in/add-on) –  tehDorf Dec 7 '13 at 1:48
1  
This is not working for me when trying to save a huge session of 300+ tabs in about 7 Windows. There seems to be a limit to this trick in terms of tab numbers, beware –  foregon Feb 18 at 12:31
    
T.O.C. = Table of Contents! Neat! Works in Firefox 17.0.9 on Windows. –  isomorphismes Mar 3 at 12:46
add comment
up vote 9 down vote accepted

I found an add-on called Send Tab URLs that copies the URLs of all open tabs with the intention of sending them by email to someone. This add-on also allows the target of the URLs to be the clipboard as well as email so this solves my problem 100%.

https://addons.mozilla.org/en-US/firefox/addon/4437

share|improve this answer
add comment

You might want to consider a similar add-on with different options, CopyAllURLs; especially if mailing is not a priority. -Isn't that 2 clicks ? It's in the context menu. [That linked page also lists 'alternative solutions']

share|improve this answer
    
Sheesh, this add-on is now out of date.....what solution will even work for this problem? –  foregon Feb 18 at 12:34
add comment

No need to export anything.

Just save all the tabs in a folder (you already know how to do that), right click on folder, copy. Open notepad, paste. Voila. All URL's of bookmarks in that folder.

share|improve this answer
1  
Yes, that does work, but I was thinking more along the lines of having an option in a plug-in menu or the context menu that would put the URLs into my clipboard. Then I won't have to create, view, and delete intermediate bookmark folders. –  hekevintran Jan 17 '10 at 2:36
    
Sorry, don't know of any plugin which would do that. It is a rather unusual request (I still can't see why do you need something like that...). Anyways, you got one way now ... this one takes about 6 clicks ... the fastest I know, sorry. –  ldigas Jan 17 '10 at 2:53
    
Right click on tab, bookmark all tabs, ok, right click on dir, copy ... url's are in clipboard ... 5 clicks. –  ldigas Jan 17 '10 at 2:53
    
Yeah you are right about it's unusualness. I think I'm going to look up references on writing Firefox plug-ins. I want it to be 2 clicks dammit! Thanks though. –  hekevintran Jan 17 '10 at 2:59
    
This may help you :: stackoverflow.com/questions/24772/… | You still haven't told what do you need something like that for ? ;) –  ldigas Jan 17 '10 at 3:16
show 1 more comment

A good way to export all opened tabs from FIREFOX is "CTRL + SHIFT +D" or ALT + B and then Bookmark all tabs and save as folder bookmark in Bookmark Manager --> then export as HTML

share|improve this answer
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.