Recovering Last Session of hundred tabs


Amir

Recommended Posts

I did a forum search and although I saw others that use Last Session how I use it, I was unable to find anyone with same problem.  Basically I don’t use favorites much for a lot of links I don’t want to add/organize on a daily basis.  I set my browser to open up with Last Session and at the end of the day,  I have last session tab open and just keep whatever tabs left to add to the last session list for the next time I open Maxthon.  I’ve done this for so long and have hundreds and hundreds of tabs in the Last Session.

 

Now my problem is I accidently closed a session without having Last Session tab open so my Last Session list is just one tab I had open at the time……HOWEVER, the last session “Earlier Session” still has my precious list of tabs. I won’t close Maxthon because that will eliminate the “earlier session”, hopefully there will be a solution.

 

I believe the lasttabs.dat file will only have that one tab now, the config.ini file only has that one tab.  I’m just hoping that with the tabs still all there in “Earlier Session” someone will be able to tell me how to save these tabs either back to “Last Session” or favorites.  Maybe with “inspect element” there is a way to do it by copying certain html but I would need instruction in what to do because I am not savvy with code.

 

I have used Maxthon for almost 15 years now.  The Maxthon I use is 4.9.5.1000.  PLEASE HELP!

Link to comment
Share on other sites

1 hour ago, Amir said:

Now my problem is I accidently closed a session without having Last Session tab open

That makes no difference. Whatever is open when the browser is closed is what will be saved.

It seems that the last session isn't actually working as i believe it should. Last session should be only the tabs in the last session, and earlier session should be the one previous. The next time you close/open the browser the last session list should become the earlier session list, and the earlier session list should be deleted. At least that's how it's been working for me for quite some time now.

But as with you, i've found the current way it works (random old sites that were a last session at some stage, and the last session list that always adds/updates new sites) is actually handy for the way I use it. Although I don't keep 100 sites listed there, as that's just not a smart thing to do given there's no UI option to save this data. Although if you saved a copy of your userdata you may have been able to get (most of) it back quite simply, assuming you don't use a passport account which makes things trickier.

--

As for you getting your list back:

While viewing the last session page, Right click > Inspect element on the first item in the list

Work your way up the code till you find the line <ul class="page" id="recentList">

Right click that line > copy

Paste into a new text file using notepad.

Save the file as whatever_name_you_want.html

Open the file using Maxthon. It won't look pretty, but should give you your list. From there you can figure out what you want to do, open them and save to favs, or open them and let it save back to the last session list. Or even just keep that as a list separate from Maxthon.

--

And on a somewhat slightly related matter, it seems the MX dev's have decided to block access to view source and dev tools on mx:// pages. So trying to do the above in 5.1.1.x versions, if in the same situation, won't help. Not happy about that.

Link to comment
Share on other sites

Although I don't have the icons visible as they are in lastsession, THAT WORKED!  THANK YOU SO MUCH 7TWENTY!  I really appreciate as this is basically like losing all my favorites.  Now I have my option as you said of whether to save as favorites, open it up daily, keep the same way with Last Session.  I might just keep the same way with Last Session because it has been my habit for years and although it has the very negative as you said of the risk of losing it/not saving, it is so convenient, almost intuitive that I have this list of most the links I'd like to save all on one page, without organizing (which I'm not the best at and never seem to make time for), in order of when I visited them, and searchable (ctrl f) to find a link.  I was wondering if you had any advice for how to do this??  Because I know if I click "open all" my browser will crash opening the hundreds of links...so the only way I know would be to manually open like 20 links and then close the browser, open browser (with those 20 links in last session now) and notepad list again, and click on 20 more, repeat.

In addition, you referred to saving a copy of my userdata and I'd be able to get it back pretty simply, are you referring to having the lasttabs.dat file?  I do try to save a copy of that every few months, but it had been a long time this time.  I've never had to do it before, but I will try to replace my lasttabs.dat file with my old one this time.  Would there be any way to combine the links from two lasttabs.dat file into one?  Maybe the smartest thing to do would be to have all my last session links back first and finally find a way to use favorites how I use last session.  I am going to hold off on starting in order to possibly hear from you first.  I really appreciate your help/and possible future help.

Link to comment
Share on other sites

11 hours ago, Amir said:

In addition, you referred to saving a copy of my userdata and I'd be able to get it back pretty simply, are you referring to having the lasttabs.dat file?  I do try to save a copy of that every few months, but it had been a long time this time.

Yes, but all your userdata folder. Keeping backups is just good practice just in case something happens to the data or PC. As said above, if you are using a passport account then it makes things trickier, but for a guest account it's probably the best thing you can do to deal with issues like this.

11 hours ago, Amir said:

Would there be any way to combine the links from two lasttabs.dat file into one?

Possibly, but way beyond anything i have the time to look into.

11 hours ago, Amir said:

 Maybe the smartest thing to do would be to have all my last session links back first and finally find a way to use favorites how I use last session.

Ideally, you'd just use favourites, as that is what it's designed for. Last session tabs is handy no doubt, but it's less resilient than favs, and favs keeps it's own backups if i'm not mistaken.

Link to comment
Share on other sites

i use it in the same way.  sometimes happened to mee  too.  i just click on open all, wait untill i see it doesn't open other new tabs and then right click on refresh icon and -> stop all.  it is so slowed down that most of the sites are just white pages waiting to be loaded, it doesn't crash.  ( 16gb of ram, maybe that helps ).

 

 

another solution (not tested) might be to disconnect the network and click on open all. all tabs get loaded but without content ->  no crash ?

it's to see if the link get saved corrected in the next last session though

Link to comment
Share on other sites

Thanks so much 7twenty and Cicoz!  I don’t know how I didn’t think about that disconnecting network idea and then open all before, great idea, I'll try and report back.  This problem has happened before, it usually does a valiant job with networking on of opening like 50 but it crashs and then only those 50 are saved to last session.  I’ll try it with it off and report back.

 

I do have a passport account (that I autologin 22,633 hours level 105 baby!  lol, I don't know levels, but I hope that's a little respectable as I really have been using Maxthon for almost 15 years) so I think everything else is saved online.  I will try the ideas to get them back into Last Session and then I will try to be better at saving them all to favorites just in case for the future.

 

Link to comment
Share on other sites

To give an update, I got all of my last session back :-).  Disconnecting network made open all tabs easy, however, it gave a this page cannot be displayed instead of the title of each webpage in the links of Last Session page (which would make searching hard and not easy to scroll to jog memory).  Open all did crash browser (but it is 718 tabs on 8gb ram).  However, what worked to get my last session exactly as it was before was clicking open all and then right clicking the refresh icon and clicking stop all immediately (not waiting til they all opened).  Links continued to be opened.  I don't know if this also helped but I kept clicking stop all again and again throughout the opening of all pages.  Once done, I added all pages as favorites as well and then closed to get my last session.  Thank you sooo much to 7twenty and cicoz again!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.