Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOR THE NEWCOMERS: How to import TGS tabs #7

Closed
wchristian opened this issue Feb 4, 2021 · 19 comments
Closed

FOR THE NEWCOMERS: How to import TGS tabs #7

wchristian opened this issue Feb 4, 2021 · 19 comments
Labels
fixed good first issue Good for newcomers

Comments

@wchristian
Copy link

wchristian commented Feb 4, 2021

You'll need to have notepad++ or a similar text editor with regex search and replace.

  • install the marvellous suspender, open its options
  • export the session into a text file
  • open the text file with notepad++
  • open search and replace and set "search mode" to "regular expression", then replace chrome-extension.*uri= with an empty string
  • save the text file
  • close all your tabs
  • import the session from the saved file with "open and suspend"
@wchristian
Copy link
Author

wchristian commented Feb 4, 2021

i made this as a separate issue to give more visibility to the question in #3, #5, greatsuspender#1175, greatsuspender#1309, greatsuspender#526

@ultragreg
Copy link

Marvellous installed, but I did not have an export option.

@wchristian
Copy link
Author

wchristian commented Feb 4, 2021

@ultragreg

  • open settings image
  • mouse over current session image

@emmett13
Copy link

emmett13 commented Feb 4, 2021

Thanks for posting this! So I'm a little confused about the steps—how do I get to the old, saved session of tabs from TGS? Is that the one I am supposed to edit and load? The way that it's written, it seems like I should just export the session I have open, but when TGS was pulled, it just removed all of those tabs, so I'm not sure how to get them open.

@wchristian
Copy link
Author

@emmett13 you don't need the old session, just follow the steps, also see shots above

@ultragreg
Copy link

@ultragreg

  • open settings image
  • mouse over current session image

Yes but I have no current session. I did not close my chrome since TGS shutdown.
I had a significant number of openned tabs (maybe more than 200)

I have tested with 2 others computer. Ok I have current session, export, but no 'chrome-extension.*uri=' in the txt file. No traces of previous tab suspended by TGS

@wchristian
Copy link
Author

if you closed your tabs you'll want to reopen them via the history menu, and if you can't via that, then you'll need to find another solution involving TGS' sqlite file and a tool like sqliteman

image

@mcchong
Copy link

mcchong commented Feb 4, 2021

For anyone else who like me, didn't have any saved sessions or similar in TGS, Session Buddy etc., and don't feel inclined to go digging through your history, this should help:
greatsuspender#1304 (comment)

Basically, quit and open chrome, quickly open TGS options page before it gets disabled, and export your last recorded session, then you can do whatever you want (I imported it here and reopened everything, and will try and reduce my tabs before I uninstall here, but at least I can be confident I've saved my tabs consistently, if not the history associated with them).

@ultragreg
Copy link

if you closed your tabs you'll want to reopen them via the history menu, and if you can't via that, then you'll need to find another solution involving TGS' sqlite file and a tool like sqliteman

Ok thanks, I will take a look for another solution

@mcchong
Copy link

mcchong commented Feb 4, 2021

if you closed your tabs you'll want to reopen them via the history menu, and if you can't via that, then you'll need to find another solution involving TGS' sqlite file and a tool like sqliteman

image

How do I find the sqlite file?

@wchristian
Copy link
Author

sorry, not my field of expertise, you'll need to browse around the other issue threads

@ultragreg
Copy link

For anyone else who like me, didn't have any saved sessions or similar in TGS, Session Buddy etc., and don't feel inclined to go digging through your history, this should help:
greatsuspender#1304 (comment)

Basically, quit and open chrome, quickly open TGS options page before it gets disabled, and export your last recorded session, then you can do whatever you want (I imported it here and reopened everything, and will try and reduce my tabs before I uninstall here, but at least I can be confident I've saved my tabs consistently, if not the history associated with them).

This works, thanks

@ThisIsSammysAccount
Copy link

Also good to note, it is important you start with an export of the current Marvelous Suspender session and don't just open a new text file in notepad. I tried with a new text file and it combined all my old tabs into a single window when importing. I assume it has to do with file encoding, the export just uses LF instead of CRLF at line endings.

@danielsharvey
Copy link

I use Session Buddy, so being able to clean individual URLs is helpful i.e. It has saved the suspended tabs thrown away when the extension was removed from the store.

On Mac I've used Automator to set up a "Services" menu script "Clean Great Suspender URL" which you run by selecting and processing the URL through a sed script with the regular expression noted in this issue:

sed -e 's/chrome-extension.*uri=//'

See Clean Great Suspender URL.zip

@gioxx gioxx pinned this issue Feb 5, 2021
@gioxx gioxx added good first issue Good for newcomers documentation Improvements or additions to documentation labels Feb 5, 2021
@msva
Copy link

msva commented Feb 5, 2021

Btw, it would be nice to have a possiblity to somehow import saved sessions from (force-disabled) TGS :-/

@emmett13
Copy link

emmett13 commented Feb 5, 2021

For anyone else who like me, didn't have any saved sessions or similar in TGS, Session Buddy etc., and don't feel inclined to go digging through your history, this should help:
greatsuspender#1304 (comment)

Basically, quit and open chrome, quickly open TGS options page before it gets disabled, and export your last recorded session, then you can do whatever you want (I imported it here and reopened everything, and will try and reduce my tabs before I uninstall here, but at least I can be confident I've saved my tabs consistently, if not the history associated with them).

^^^This was super helpful--I had some important tabs and it was going to be a drag to try to recover them. @ultragreg

@verglor
Copy link

verglor commented Feb 6, 2021

@JesusAtheist
Copy link

#42

@gioxx gioxx unpinned this issue Feb 14, 2021
@gioxx gioxx added fixed and removed documentation Improvements or additions to documentation labels Feb 14, 2021
@candrapersada
Copy link

@ultragreg

  • buka setelan image
  • tetikus selama sesi saat ini image

Is it possible to export current sessions to bookmarks to use bookmark sync for other PCs?

@sherkot sherkot closed this as completed May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests