how to reverse the sort order of tabs in firefox?
I need to print (to PDF) a large number (about 80) of tabs all at once, but in a specific order. The problem is that the tabs all got opened in the reverse order of what I want. Dragging them around one at a time is just too painful to contemplate, so I'm looking for a way to just reverse the order of all currently opened tabs. I have them already saved to their own folder so I can easily reopen them, but need to reverse their ordering.
I found some old and outdated plugins that claimed to allow for this years ago, but nothing that looked like it would work in FireFox today. Any suggestions on where to look?
firefox sorting browser-tabs
add a comment |
I need to print (to PDF) a large number (about 80) of tabs all at once, but in a specific order. The problem is that the tabs all got opened in the reverse order of what I want. Dragging them around one at a time is just too painful to contemplate, so I'm looking for a way to just reverse the order of all currently opened tabs. I have them already saved to their own folder so I can easily reopen them, but need to reverse their ordering.
I found some old and outdated plugins that claimed to allow for this years ago, but nothing that looked like it would work in FireFox today. Any suggestions on where to look?
firefox sorting browser-tabs
add a comment |
I need to print (to PDF) a large number (about 80) of tabs all at once, but in a specific order. The problem is that the tabs all got opened in the reverse order of what I want. Dragging them around one at a time is just too painful to contemplate, so I'm looking for a way to just reverse the order of all currently opened tabs. I have them already saved to their own folder so I can easily reopen them, but need to reverse their ordering.
I found some old and outdated plugins that claimed to allow for this years ago, but nothing that looked like it would work in FireFox today. Any suggestions on where to look?
firefox sorting browser-tabs
I need to print (to PDF) a large number (about 80) of tabs all at once, but in a specific order. The problem is that the tabs all got opened in the reverse order of what I want. Dragging them around one at a time is just too painful to contemplate, so I'm looking for a way to just reverse the order of all currently opened tabs. I have them already saved to their own folder so I can easily reopen them, but need to reverse their ordering.
I found some old and outdated plugins that claimed to allow for this years ago, but nothing that looked like it would work in FireFox today. Any suggestions on where to look?
firefox sorting browser-tabs
firefox sorting browser-tabs
edited Oct 18 '16 at 21:16
Hennes
58.8k792141
58.8k792141
asked Mar 8 '14 at 23:36
Jonathan van Clute
212416
212416
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Here is one way to reverse the sort order of Firefox tabs:
- Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
in Preferences > Home - Copy the resulting string and paste it in new file, say, tabs.txt
Insert newline at the end of tabs.txt
$ echo >> tabs.txt
Reverse the URLs order
$ cat tabs.txt | tr '|' 'n' | tac | tr 'n' '|' > final.txt
Copy the contents of final.txt and paste it in
Custom URLs
field in Preferences > HomeClose all the currently opened tabs
In a new fresh tab click on
Home
button and you're done!
1
That’s a pretty clever and interesting solution… To be honest I moved on from this along time ago, and I don’t even remember what my eventual solution to what I needed became. But this seems like it probably would have done the job, although I’m not much for text manipulation from the command line personally. If I ever find myself needing to do this again, I will definitely have to try this out.
– Jonathan van Clute
Aug 21 at 2:29
add a comment |
Maybe bookmarking all the tabs, and then reordering them in the bookmark folder. They should open in the order they are in the bookmark folder.
yeah the problem is there is no "reverse order" for bookmarks either. It's looking more and more like the only viable option is a manual reorder. =(
– Jonathan van Clute
Mar 9 '14 at 0:15
I was thinking it would easier to manually manipulate them in teh bookmark folder than as tabs
– sww1235
Mar 9 '14 at 0:22
Interestingly, I've found the opposite to be true, since I don't seem able to drag & drop bookmarks to change their order, but I can drag tabs around as needed. The closest to a solution I've come so far is: 1) Go into the bookmark editing window and under the Sort menu, is Sort By Added... select that 2) Now that I'm close to the correct order, go and rearrange the tabs manually in the browser window, and 3) save all bookmarks to a new folder in case something happens and I lose the window. Quite manual but, it's working.
– Jonathan van Clute
Mar 9 '14 at 0:31
add a comment |
Based on @rootkea answer above, but slightly different. His answer won't work in windows since windows doesn't have cat
command (I cannot write a comment so I chose write a complete answer). Reversing those urls can be done inside a browser with javascript.
- Go to FF console: press
Ctrl + Shift + K
or use context menu ->Inspect Element
and select tab Console.
Paste this code there and press enter (don't close console for now)
let ta = document.body.appendChild(document.createElement('textarea'));
Textarea appears stretched 100% horizontally at the bottom of the current page (if you do it right on this superuser's page). Textarea is needed for convenient work with special characters in a string with urls.
It is possible to add some styling if you don't see the element. Enter this code to console
ta.style.border = '4px solid red';
Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
inPreferences > Home
- Copy the resulting string and paste it to textarea element, created before
Paste this code to console and press enter
ta.value = ta.value.split('|').reverse().join('|');
Copy new string from textarea and paste it in
Custom URLs
field inPreferences > Home
Close all the currently opened tabs
In a new fresh tab click on Home button and you're done!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f726498%2fhow-to-reverse-the-sort-order-of-tabs-in-firefox%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here is one way to reverse the sort order of Firefox tabs:
- Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
in Preferences > Home - Copy the resulting string and paste it in new file, say, tabs.txt
Insert newline at the end of tabs.txt
$ echo >> tabs.txt
Reverse the URLs order
$ cat tabs.txt | tr '|' 'n' | tac | tr 'n' '|' > final.txt
Copy the contents of final.txt and paste it in
Custom URLs
field in Preferences > HomeClose all the currently opened tabs
In a new fresh tab click on
Home
button and you're done!
1
That’s a pretty clever and interesting solution… To be honest I moved on from this along time ago, and I don’t even remember what my eventual solution to what I needed became. But this seems like it probably would have done the job, although I’m not much for text manipulation from the command line personally. If I ever find myself needing to do this again, I will definitely have to try this out.
– Jonathan van Clute
Aug 21 at 2:29
add a comment |
Here is one way to reverse the sort order of Firefox tabs:
- Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
in Preferences > Home - Copy the resulting string and paste it in new file, say, tabs.txt
Insert newline at the end of tabs.txt
$ echo >> tabs.txt
Reverse the URLs order
$ cat tabs.txt | tr '|' 'n' | tac | tr 'n' '|' > final.txt
Copy the contents of final.txt and paste it in
Custom URLs
field in Preferences > HomeClose all the currently opened tabs
In a new fresh tab click on
Home
button and you're done!
1
That’s a pretty clever and interesting solution… To be honest I moved on from this along time ago, and I don’t even remember what my eventual solution to what I needed became. But this seems like it probably would have done the job, although I’m not much for text manipulation from the command line personally. If I ever find myself needing to do this again, I will definitely have to try this out.
– Jonathan van Clute
Aug 21 at 2:29
add a comment |
Here is one way to reverse the sort order of Firefox tabs:
- Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
in Preferences > Home - Copy the resulting string and paste it in new file, say, tabs.txt
Insert newline at the end of tabs.txt
$ echo >> tabs.txt
Reverse the URLs order
$ cat tabs.txt | tr '|' 'n' | tac | tr 'n' '|' > final.txt
Copy the contents of final.txt and paste it in
Custom URLs
field in Preferences > HomeClose all the currently opened tabs
In a new fresh tab click on
Home
button and you're done!
Here is one way to reverse the sort order of Firefox tabs:
- Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
in Preferences > Home - Copy the resulting string and paste it in new file, say, tabs.txt
Insert newline at the end of tabs.txt
$ echo >> tabs.txt
Reverse the URLs order
$ cat tabs.txt | tr '|' 'n' | tac | tr 'n' '|' > final.txt
Copy the contents of final.txt and paste it in
Custom URLs
field in Preferences > HomeClose all the currently opened tabs
In a new fresh tab click on
Home
button and you're done!
answered Aug 20 at 20:31
rootkea
1316
1316
1
That’s a pretty clever and interesting solution… To be honest I moved on from this along time ago, and I don’t even remember what my eventual solution to what I needed became. But this seems like it probably would have done the job, although I’m not much for text manipulation from the command line personally. If I ever find myself needing to do this again, I will definitely have to try this out.
– Jonathan van Clute
Aug 21 at 2:29
add a comment |
1
That’s a pretty clever and interesting solution… To be honest I moved on from this along time ago, and I don’t even remember what my eventual solution to what I needed became. But this seems like it probably would have done the job, although I’m not much for text manipulation from the command line personally. If I ever find myself needing to do this again, I will definitely have to try this out.
– Jonathan van Clute
Aug 21 at 2:29
1
1
That’s a pretty clever and interesting solution… To be honest I moved on from this along time ago, and I don’t even remember what my eventual solution to what I needed became. But this seems like it probably would have done the job, although I’m not much for text manipulation from the command line personally. If I ever find myself needing to do this again, I will definitely have to try this out.
– Jonathan van Clute
Aug 21 at 2:29
That’s a pretty clever and interesting solution… To be honest I moved on from this along time ago, and I don’t even remember what my eventual solution to what I needed became. But this seems like it probably would have done the job, although I’m not much for text manipulation from the command line personally. If I ever find myself needing to do this again, I will definitely have to try this out.
– Jonathan van Clute
Aug 21 at 2:29
add a comment |
Maybe bookmarking all the tabs, and then reordering them in the bookmark folder. They should open in the order they are in the bookmark folder.
yeah the problem is there is no "reverse order" for bookmarks either. It's looking more and more like the only viable option is a manual reorder. =(
– Jonathan van Clute
Mar 9 '14 at 0:15
I was thinking it would easier to manually manipulate them in teh bookmark folder than as tabs
– sww1235
Mar 9 '14 at 0:22
Interestingly, I've found the opposite to be true, since I don't seem able to drag & drop bookmarks to change their order, but I can drag tabs around as needed. The closest to a solution I've come so far is: 1) Go into the bookmark editing window and under the Sort menu, is Sort By Added... select that 2) Now that I'm close to the correct order, go and rearrange the tabs manually in the browser window, and 3) save all bookmarks to a new folder in case something happens and I lose the window. Quite manual but, it's working.
– Jonathan van Clute
Mar 9 '14 at 0:31
add a comment |
Maybe bookmarking all the tabs, and then reordering them in the bookmark folder. They should open in the order they are in the bookmark folder.
yeah the problem is there is no "reverse order" for bookmarks either. It's looking more and more like the only viable option is a manual reorder. =(
– Jonathan van Clute
Mar 9 '14 at 0:15
I was thinking it would easier to manually manipulate them in teh bookmark folder than as tabs
– sww1235
Mar 9 '14 at 0:22
Interestingly, I've found the opposite to be true, since I don't seem able to drag & drop bookmarks to change their order, but I can drag tabs around as needed. The closest to a solution I've come so far is: 1) Go into the bookmark editing window and under the Sort menu, is Sort By Added... select that 2) Now that I'm close to the correct order, go and rearrange the tabs manually in the browser window, and 3) save all bookmarks to a new folder in case something happens and I lose the window. Quite manual but, it's working.
– Jonathan van Clute
Mar 9 '14 at 0:31
add a comment |
Maybe bookmarking all the tabs, and then reordering them in the bookmark folder. They should open in the order they are in the bookmark folder.
Maybe bookmarking all the tabs, and then reordering them in the bookmark folder. They should open in the order they are in the bookmark folder.
answered Mar 9 '14 at 0:09
sww1235
888
888
yeah the problem is there is no "reverse order" for bookmarks either. It's looking more and more like the only viable option is a manual reorder. =(
– Jonathan van Clute
Mar 9 '14 at 0:15
I was thinking it would easier to manually manipulate them in teh bookmark folder than as tabs
– sww1235
Mar 9 '14 at 0:22
Interestingly, I've found the opposite to be true, since I don't seem able to drag & drop bookmarks to change their order, but I can drag tabs around as needed. The closest to a solution I've come so far is: 1) Go into the bookmark editing window and under the Sort menu, is Sort By Added... select that 2) Now that I'm close to the correct order, go and rearrange the tabs manually in the browser window, and 3) save all bookmarks to a new folder in case something happens and I lose the window. Quite manual but, it's working.
– Jonathan van Clute
Mar 9 '14 at 0:31
add a comment |
yeah the problem is there is no "reverse order" for bookmarks either. It's looking more and more like the only viable option is a manual reorder. =(
– Jonathan van Clute
Mar 9 '14 at 0:15
I was thinking it would easier to manually manipulate them in teh bookmark folder than as tabs
– sww1235
Mar 9 '14 at 0:22
Interestingly, I've found the opposite to be true, since I don't seem able to drag & drop bookmarks to change their order, but I can drag tabs around as needed. The closest to a solution I've come so far is: 1) Go into the bookmark editing window and under the Sort menu, is Sort By Added... select that 2) Now that I'm close to the correct order, go and rearrange the tabs manually in the browser window, and 3) save all bookmarks to a new folder in case something happens and I lose the window. Quite manual but, it's working.
– Jonathan van Clute
Mar 9 '14 at 0:31
yeah the problem is there is no "reverse order" for bookmarks either. It's looking more and more like the only viable option is a manual reorder. =(
– Jonathan van Clute
Mar 9 '14 at 0:15
yeah the problem is there is no "reverse order" for bookmarks either. It's looking more and more like the only viable option is a manual reorder. =(
– Jonathan van Clute
Mar 9 '14 at 0:15
I was thinking it would easier to manually manipulate them in teh bookmark folder than as tabs
– sww1235
Mar 9 '14 at 0:22
I was thinking it would easier to manually manipulate them in teh bookmark folder than as tabs
– sww1235
Mar 9 '14 at 0:22
Interestingly, I've found the opposite to be true, since I don't seem able to drag & drop bookmarks to change their order, but I can drag tabs around as needed. The closest to a solution I've come so far is: 1) Go into the bookmark editing window and under the Sort menu, is Sort By Added... select that 2) Now that I'm close to the correct order, go and rearrange the tabs manually in the browser window, and 3) save all bookmarks to a new folder in case something happens and I lose the window. Quite manual but, it's working.
– Jonathan van Clute
Mar 9 '14 at 0:31
Interestingly, I've found the opposite to be true, since I don't seem able to drag & drop bookmarks to change their order, but I can drag tabs around as needed. The closest to a solution I've come so far is: 1) Go into the bookmark editing window and under the Sort menu, is Sort By Added... select that 2) Now that I'm close to the correct order, go and rearrange the tabs manually in the browser window, and 3) save all bookmarks to a new folder in case something happens and I lose the window. Quite manual but, it's working.
– Jonathan van Clute
Mar 9 '14 at 0:31
add a comment |
Based on @rootkea answer above, but slightly different. His answer won't work in windows since windows doesn't have cat
command (I cannot write a comment so I chose write a complete answer). Reversing those urls can be done inside a browser with javascript.
- Go to FF console: press
Ctrl + Shift + K
or use context menu ->Inspect Element
and select tab Console.
Paste this code there and press enter (don't close console for now)
let ta = document.body.appendChild(document.createElement('textarea'));
Textarea appears stretched 100% horizontally at the bottom of the current page (if you do it right on this superuser's page). Textarea is needed for convenient work with special characters in a string with urls.
It is possible to add some styling if you don't see the element. Enter this code to console
ta.style.border = '4px solid red';
Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
inPreferences > Home
- Copy the resulting string and paste it to textarea element, created before
Paste this code to console and press enter
ta.value = ta.value.split('|').reverse().join('|');
Copy new string from textarea and paste it in
Custom URLs
field inPreferences > Home
Close all the currently opened tabs
In a new fresh tab click on Home button and you're done!
add a comment |
Based on @rootkea answer above, but slightly different. His answer won't work in windows since windows doesn't have cat
command (I cannot write a comment so I chose write a complete answer). Reversing those urls can be done inside a browser with javascript.
- Go to FF console: press
Ctrl + Shift + K
or use context menu ->Inspect Element
and select tab Console.
Paste this code there and press enter (don't close console for now)
let ta = document.body.appendChild(document.createElement('textarea'));
Textarea appears stretched 100% horizontally at the bottom of the current page (if you do it right on this superuser's page). Textarea is needed for convenient work with special characters in a string with urls.
It is possible to add some styling if you don't see the element. Enter this code to console
ta.style.border = '4px solid red';
Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
inPreferences > Home
- Copy the resulting string and paste it to textarea element, created before
Paste this code to console and press enter
ta.value = ta.value.split('|').reverse().join('|');
Copy new string from textarea and paste it in
Custom URLs
field inPreferences > Home
Close all the currently opened tabs
In a new fresh tab click on Home button and you're done!
add a comment |
Based on @rootkea answer above, but slightly different. His answer won't work in windows since windows doesn't have cat
command (I cannot write a comment so I chose write a complete answer). Reversing those urls can be done inside a browser with javascript.
- Go to FF console: press
Ctrl + Shift + K
or use context menu ->Inspect Element
and select tab Console.
Paste this code there and press enter (don't close console for now)
let ta = document.body.appendChild(document.createElement('textarea'));
Textarea appears stretched 100% horizontally at the bottom of the current page (if you do it right on this superuser's page). Textarea is needed for convenient work with special characters in a string with urls.
It is possible to add some styling if you don't see the element. Enter this code to console
ta.style.border = '4px solid red';
Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
inPreferences > Home
- Copy the resulting string and paste it to textarea element, created before
Paste this code to console and press enter
ta.value = ta.value.split('|').reverse().join('|');
Copy new string from textarea and paste it in
Custom URLs
field inPreferences > Home
Close all the currently opened tabs
In a new fresh tab click on Home button and you're done!
Based on @rootkea answer above, but slightly different. His answer won't work in windows since windows doesn't have cat
command (I cannot write a comment so I chose write a complete answer). Reversing those urls can be done inside a browser with javascript.
- Go to FF console: press
Ctrl + Shift + K
or use context menu ->Inspect Element
and select tab Console.
Paste this code there and press enter (don't close console for now)
let ta = document.body.appendChild(document.createElement('textarea'));
Textarea appears stretched 100% horizontally at the bottom of the current page (if you do it right on this superuser's page). Textarea is needed for convenient work with special characters in a string with urls.
It is possible to add some styling if you don't see the element. Enter this code to console
ta.style.border = '4px solid red';
Set Firefox's homepage to currently opened tabs by selecting
Use Current Pages
inPreferences > Home
- Copy the resulting string and paste it to textarea element, created before
Paste this code to console and press enter
ta.value = ta.value.split('|').reverse().join('|');
Copy new string from textarea and paste it in
Custom URLs
field inPreferences > Home
Close all the currently opened tabs
In a new fresh tab click on Home button and you're done!
answered Dec 16 at 7:50
Timur
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f726498%2fhow-to-reverse-the-sort-order-of-tabs-in-firefox%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown