One fine day, I needed to copy the web addresses (URLs) of all opened tabs at once to the clipboard. This did not seem easy to do in Firefox as the browser offers no such option. However, this can be done quickly and easily. You don't even need to install extensions. Read this article if you are interested in knowing how to copy the location from all open tabs.
Let's open a few pages in Firefox to get something like this:
- Click on the hamburger icon to open Firefox's menu.
- In the menu pane, click the Preferences icon.
- In Preferences, note the Home Page value. We will make use of this field, so its contents need to be restored after doing the trick. In my case, the home page is empty, so I will lose nothing.
- Now, click "Use Current Pages" button. All URLs of opened tabs will be placed in the "Home Page" field. You can copy them from there by selecting them all with Ctrl+A and then copying them with Ctrl+C!
That's it. Here is a bonus tip. When you copy URLs from the "Home Page" field, they are separated by the "|" character. You can replace this character with a new line quickly, so you will get a neat list of URLs each on a separate line. All you need is Notepad++, Geany or any other editor app which supports escape sequences.
For example, here is how it can be done in Geany.
- Paste the context of the "Home Page" field in Geany:
- Set the search & replace dialog as shown below:
- Replace all instances in the current document and you are done. The result will be as follows:
You are done.
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!