-
Notifications
You must be signed in to change notification settings - Fork 909
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
How to restore lost tabs for people who are looking for a solution #1313
Comments
What worked for me for 2000+ tabs to restore most of them after all got closed by Chrome:
Alternatively you could also just import that session.txt You might loose a few tabs you could search for in the history if you like, but my recent sessions was only a few hours old. |
Actually - here seems to be the easiest way: You install the clone (safe) of Great Suspender - the clone is called MarvellousSuspender
install the marvellous suspender, open its options |
@TomasHurtz actually that method won't work if the removal of the extension closed all your suspended tabs. I have no idea what causes some users to keep these tabs but as soon as Chrome disabled the extension all tabs that were suspended closed. Therefore this method won't work and you have to rely on one I outlined above if you don't want to do stuff manually with your history for 5 hours. |
Worked for me by:
|
@Kiina thegreatsuspender has created a tab backup in the session management tab before closing chrome tabs, you can download them from there |
For people that do understand JavaScript and Chome extensions here is a snippet that can be added to an extension to update all browser tabs of current window to use new extension version instead of old (banned) extension: const legacyExtensionId = 'klbibkeccnjlkjkiokjodocebajanakg';
function isLegacyUrl(url) {
return url.indexOf(legacyExtensionId) >= 0;
}
function fixOldExtensionTabs() {
getCurrentlyActiveTab(function(activeTab) {
if (!activeTab) {
gsUtils.warning(
'background',
'Could not determine currently active window.'
);
return;
}
chrome.windows.get(activeTab.windowId, { populate: true }, curWindow => {
for (const tab of curWindow.tabs) {
const url = tab.url || tab.pendingUrl;
if (isLegacyUrl(url)) {
const fixedUrl = url.replace(legacyExtensionId, chrome.runtime.id);
chrome.tabs.update(tab.id, {url: fixedUrl});
}
}
});
});
} |
Thanks mate @andrewprofile ! This worked flawlessly. In conjunction, I used: |
I am not sure what you mean. It worked perfectly for me and I had all my tabs closed (happened after chrome update). I simply installed new app, followed instructions then all tabs came back. TGS was disabled from Chrome, so I had little choice. But I am sorry if it not work for you. |
@TomasHurtz Well no idea how it worked for you since the "Current session" will be empty if the tabs all closed, so there isn't anything to export and "Recent sessions" will be empty since MarvellousSuspender won't be able to read data from a different extension for obvious security reasons. |
Not the sauce, but this worked for me: https://www.reddit.com/r/chrome/comments/lch3k5/warning_please_immediately_uninstall_the_great/gm0pm2j?utm_source=share&utm_medium=web2x&context=3. |
Here is the way do to it if your cannot export Great Suspender session anymore because Google disabled the extension this morning. This is a small build-up to @TomasHurtz method above
|
Here is my 5 cents on how to backup your "locked" tabs. |
Ok I got everything back, my method isn't as good as @vladistan's, but I couldn't remember sqlite syntax (is it the same as MySQL and MariaDB? It doesn't use straight up normal sql right? I don't know the ".mode" stuff.) But a another method- (NOT the one I used but it came to mind)- very low-tech: this might be useful for people who don't have a ridiculous amount of tabs (I have 900+), and it's easier for non-technical types: You can also just use Session Buddy (or your chrome history), to restore the suspended tabs you cared about before the disaster, and they won't work of course, but you can just go into the url and manually select the url at the end after "uri=". For example: chrome-extension://noogafoofpebimajpfpamcfhoaifemoa/suspended.html#ttl=35%2B%20Free%20Public%20APIs%20to%20Improve%20Productivity&pos=0&uri=https://blog.idrisolubisi.com/35-free-public-apis-to-improve-productivity the origin url there is "https://blog.idrisolubisi.com/35-free-public-apis-to-improve-productivity" But what I did is a combination of the ones prescribed above: I didn't have to turn the internet off or compile an older Great Suspender version. First I just restored from an old Session Buddy session from right before the exploit. (Or you use chrome history I guess). Then I installed Marvelous Suspender as well use another (awesome simple, 5 star) extension called "Copy URL's to Clipboard" So I used it copy all the windows tabs and pasted them into a text file (separating the lines of each window with carriage returns so they don't all blend together and I can tell them apart later. So then do the search and replace klbibkeccnjlkjkiokjodocebajanakg with noogafoofpebimajpfpamcfhoaifemoa as mentioned above by @vladistan, (the first one is the extension UID of the contaminated Great Suspender, the second is Marvelous Suspender. They both use the same pattern in their urls.) Make a bunch of new chrome windows. For each window, select the chunk of lines from the text file (see- that's why I was telling you to use line breaks after each window's urls, you'll see what I mean), and use the "Copy URL's to Clipboard" extension to pasted in the modified tabs. Voila! Lastly- after you do, for hell's sake, go back into session buddy and save all of this as a new session. I called it "afterthemarvelousrestoration" haha. Anyway though- @vladistan's method is better if you know sqlite- in fact, it's possible to write a bash script (or perl or php or python), (well or in windows an exe or whatever) that basically does all of this for someone who's not as technical as us, right? |
Hoping it hasn't been too late to add on to this, but I was in despair when I opened up chrome today and saw all my tabs were gone. I was too late to hear about this, as Chrome has already disabled the extension and my tabs disappeared with it. |
NOT REMOVE OLD BEFORE
install "TheGreatSuspender" extension from github source https://github.com/greatsuspender/thegreatsuspender#install-as-an-extension-from-source 1.7.6 version
go to TheGreatSuspender - setting - session management
export all your tabs, including tabs suspended by TheGreatSuspender. You can save urls as txt
4. open txt, exchange all klbibkeccnjlkjkiokjodocebajanakg to dcfbmakmhgdbikhkhnoodjjdkcamgkcj(on my computer but I'm not sure if it will always be the same, you can find the name in the tab with the list of extensions)open txt editor, replace all klbibkeccnjlkjkiokjodocebajanakg to [your id here] (find the id of installed extension in the tab with the list of extensions)
import session by thegreatsuspender from txt
now you get all your tabs
The text was updated successfully, but these errors were encountered: