-
Notifications
You must be signed in to change notification settings - Fork 907
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
Recovering lost tabs after extension update or removal #526
Comments
will clicking "update extensions now" in the chrome extensions page update to the latest webstore version even if auto updates are disabled? in chrome's history, you can search for "klbibkeccnjlkjkiokjodocebajanakg" to find tabs that were suspended. lastly, I'd suggest adding some info about what files TGS uses to store sessions. Yesterday for some reason all my suspended tabs were closed again, but the extension stayed enabled and had no history for what tabs I had. I was able to get them back by restoring the indexeddb from a backup earlier that day. (I actually wasn't home to use my computer at all between when the backup happened and when all the suspended tabs disappeared…). |
@adcurtin I don't believe so. i prevent automatic updates by setting the 'max deploy percentage' to zero. |
What about https://developer.chrome.com/extensions/runtime#event-onUpdateAvailable? It sounds like that would let you detect an impending update. |
@uecasm I can't believe I have never noticed this event. It's probably exactly what I need. I'll try it out. Thanks for the heads up! Unfortunately, it's going to take another update to get it implemented :( |
Is there any way to recover 'session management' sessions without the extension? I'd love to be able to export them to my new device... |
@mengsel In the session management page, there is a link to export each session. This produces a text file with each (unsuspended) url on a new line. |
Is there a way to delete this line from a list of URLS? I'm not that familiar with regex.
I can't do it anymore, because devs of this plugin have added #ttl= which has different text in every tab, therefore it gets added to suspender URL, previously I just removed the extension string (find/replace N++) and I got direct links, because they all were the same, now I'm having problems because ttl is added. EDIT:
EDIT2: Tried it on .csv db table exported from SessionBuddy database and there it didn't work, it selected more than this line. But it worked on csv file which was in multiple lines. |
@rudolphos what exactly are you trying to do? if you want to export a list of urls in all your tabs, you can do exactly that from the session management screen within the extension (as mentioned in my reply to @mengsel above) |
@deanoemcke When tab is suspended it now has a longer URL including tab title, which messes up 'order by url' feature in SessionBuddy if there are also other unsuspended tabs, which can cause duplicates if sessions are merged. This is important for me as I have sessions with 180+ tabs and many more saved and modified, merged. I usually export Session URL list as CSV from sessionbuddy and previously it was easier to remove the sessionbuddy uri= part, but now that there are various titles in it, I had to make regex which seems to be working on one-per-line tab list, but it didn't work on db table exported from SessionBuddy. |
The extension are lost all my tabs and cannot recover from history, I am so sad, it was collect a couple of months... |
The "Session management" tab is empty; the extension does not appear to be saving my sessions. Is there anything I can do to rectify this — automatically or manually? |
@owenblacker if you open the chrome developer console on the session management screen, are there any errors on the page? |
@deanoemcke I only just saw this notification and, while it's been continuously the case for some time now, I just went to the Session management tab and it is saving my sessions again now. I'm afraid I have no idea what's changed between those two :( |
@zxweed I can recommend Session Buddy. Its awesome, only downside is no synchronization between installations, but that can be done manually by export/import. |
Acckkk - I just lost a saved tab session by installing the current Alpha version (because of the Error 400 / gsScrollPos / Google issue) ... I thought saving it was enough and didn't know I had to export it. Is there any way to get it back? I looked at previous posts in this thread - going back through my closed tabs history won't work as the session spanned several months. [whimper] |
This extension is removed from google it been found to contain found malware by the abuse team. google page for the extension shows a 404 error. |
Thanks, this worked great! I used your solution and wrote this Ruby script to export the most recently saved tab URLs to a JSON file: MAKE A BACKUP OF THE FILES FIRST! require 'json'
file = Dir['chrome-extension_klbibkeccnjlkjkiokjodocebajanakg_0.indexeddb.blob/**/*']
.find_all { |f| File.file?(f) } # skip folders, only check actual files
.max_by { |f| File.mtime(f) } # get the most recently modified file
res = {}
read = File.read(file)
read.force_encoding("ASCII-8BIT")
regex = /uri=(https?\:\/\/.+?)\"\x05width/n
result = read.scan(regex)
res[file] = result.flatten
IO.write('result.json', JSON.pretty_generate(res)) |
Can confirm, method recommended by @GarlicAAZ works perfectly and doesn't require going through your entire history.
To summarize, the sequence should be the following:
|
How to recover tabs:
|
However, the session buddy auto-saves do not save one from The Great Destroyer's reach. I lost my 200+ tabs because I thought session buddy had them, but it seems The Great Destroyer has the ability to wipe those out too. I did export all chrome history to a CSV file after this happened, so I hope to look back at that and work through it someday. If you don't restart your browser / computer often, then it is unlikely that you'll have your tabs within the last month or so of history, however! |
#1313 try this :) |
What I just did. This does not involve exporting or importing or editing anything. I wound up back in the same state as earlier this morning, with all my tabs and windows.
At this point, you can look at other extensions to manage your tabs. |
I got it removed 1 day ago by google, and I had more then 24 windows and more then 200 tabs open in it, its used for work. But I can not access the indexeddb data as the extension is blocked and trying to import the files which are in the folder, is not working In the chrome-extension_klbibkeccnjlkjkiokjodocebajanakg_0.indexeddb.blob folder I found the folder 1\15\ and there was a file 21510 by trying to open it in Notepad++, I get this result: The problem is, I dont know in which coding it was made, so I can not extract all data. Is there a way to get all the links back from it? |
You're all making this a lot harder than it needs to be. You don't need to run the old version at all, just export from the Marvellous Suspender and edit the addresses before reimporting. |
Confused. Why export/import data? This part of the advice seems easy?
|
You do need something a bit more mass-automated than that when you have ~2000 tabs suspended... (yes, I have a problem) |
For the Session Buddy you can directly update sqlite database stored in
|
This was likely mentioned in some form before, but here is a VERY SIMPLE, IN-BROWSER SOLUTION: This is just a way to automate the manual removal of everything before the "&uri=" part in the Suspender URLs. I did this in Chrome but I assume there is no issue porting it to other browsers. You need an extension with the chrome tabs permission enabled. In my case, this was "Clutter Free" (a quite useful one for fellow tab hoarders). Go to the Chrome extensions page (chrome://extensions) and make sure the Developer Mode toggle is selected. Go to the card of your " In the console that pops up, you can execute Javascript and use the chrome.tabs.query({url: "chrome-extension://klbibkeccnjlkjkiokjodocebajanakg/suspended.html*"},
tabs => tabs.forEach(t => {
actual_url = t.url.split("&uri=").slice(1).join("")
chrome.tabs.update(t.id, {url: actual_url})
})) I guess this can also be used to change the tab URL directly to the scheme of the Marvelous suspender, but I haven't installed that yet. |
I know it's a pain when Google removes an extension on your behalf, but at least that way all Chrome users find out and are protected. How are we Chromium users supposed to know when something like this happens? In my case, it was because someone in my home invoked Chrome to check out a possible bug in Brave. Otherwise we would be blissfully ignorant. Does Google have a mailing list we could subscribe to in order to be notified? If not, why not? To discourage the use of such browsers? |
I have Chromium on Linux and Chrome on Windows, there is the same behavior, don't worry. I restored my tabs twice, for both of them. |
Sorry, I should have said: Chromium-BASED browsers. Not all of them have
the same behaviour. Brave and Sware Iron both failed to uninstall the
extension.
My question is: How can we get alerts from Google that they have blocked
an extension? It seems like it should be obvious, even for Chrome users.
…On Mon, 8 Feb 2021 at 12:04, Alexander Popov ***@***.***> wrote:
I know it's a pain when Google removes an extension on your behalf, but at
least that way all Chrome users find out and are protected.
How are we Chromium users supposed to know when something like this
happens? In my case, it was because someone in my home invoked Chrome to
check out a possible bug in Brave. Otherwise we would be blissfully
ignorant.
Does Google have a mailing list we could subscribe to in order to be
notified? If not, why not? To discourage the use of such browsers?
I have Chromium on Linux and Chrome on Windows, there is the same
behavior, don't worry. I restored my tabs twice, for both of them.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#526 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AENIQ2PGXUP36RB5QJR5OXDS57HLFANCNFSM4DOR3RRA>
.
|
I don't know, it's required to look at browser's extensions page with deleted ones for starting investigation and answer searching, but it's still off-topic. |
Thanks, @antonwnk, this saved tons of faffing around. |
Not sure if it's been mentioned but another option to "restore" a suspended tab is to just click the back button. |
You are really great :) I have used SQLite Expert Personal because I am dumb in IT staff but your solution is fantastic and easy for Backup Buddy users. Thank you. |
Hey, I was in your same situation, @basilisk487's answer above got me exactly all the links (You can access it here: #526 (comment)). One more detail. The last step, to get the actual links: I hope that helps! |
Is there a way to recover the whitelist ? Since Google banned 7.18, I cant invoke that any more... |
if you migrated to firefox and want to clean the suspended links. find replace all with |
https://gist.github.com/avipars/0b1c05e4a1f664967a3945bb384e55ea did a quick python script... def more involved than using notepad++ though... but you can modify the script to do more advanced actions |
This is the official issue for users trying to recover from tab loss due to an update of the extension, or following removal/disabling of the extension. This is the number one pain point of the extension and here I will attempt to address why this is an issue, and what you can do if affected by it.
Overview:
Why do my tabs disappear when the extension updates or is removed?
What is the safe way to remove the extension?
What is the safe way to update the extension
What should I do if I have lost tabs?
How to recover lost tabs with The Great Suspender
How to recover lost tabs without The Great Suspender
My suspended tab says "This site cannot be reached"
Why do my tabs disappear when the extension updates or is removed?
The Great Suspender works by redirecting a tab to a new url in order to 'suspend' it. This means that the tab is now controlled by the extension process. When the extension updates or is disabled or uninstalled, this process is killed and all tabs that belong to it are removed from the browser.
For this reason, I try to keep the number of updates to the extension to a minimum.
The extension does come with an inbuilt tab recovery system that will automatically detect and reload lost tabs in aftermath of an update or extension crash. And in the event of an update, a session restore point is automatically created in the Session History page and can be restored manually.
What is the safe way to remove the extension?
If you want to uninstall the extension, please unsuspend all tabs before doing so. This is the only way to prevent those tabs from disappearing. This can be done easily by clicking the 'Unsuspend all tabs' option in the extension popup menu. Or more manually by visiting every suspended tab and manually reloading it.
Please note that if using the 'Unsuspend all tabs' option, you will need to do this once for each chrome window you have open.
If you failed to unsuspend all tabs before uninstalling and have lost tabs, please refer to the section below entitled "How to recover lost tabs without The Great Suspender".
Please note, uninstalling the extension will also permanently remove all extension data including tab history and extension options. Reinstalling the extension will not enable you to do any sort of recovery.
I would recommend anyone wanting to remove the extension to first back up their tabs using another extension called "Session buddy". This tool will allow you to back up all your tabs and restore them again at a later date. Please be aware that those tabs suspended at the time the session buddy backup is performed will not have their correct urls. These links will only work as long as The Great Suspender is currently installed on your browser. If you want the real urls in your session buddy backup, then you will need to unsuspend all your tabs first.
What is the safe way to update the extension?
Unfortunately chrome does not give the user the ability to manage their own extension updates. As soon as a new release is made available on the webstore, this update is automatically pushed to users.
I have done my best to mitigate the potential for lost tabs during an update by prompting users to export a backup of their tabs before accepting the new update.
As mentioned above, a session restore point will also automatically be created to save a record of your open tabs before the update. You can then recover any lost tabs via this restore point from the Session History screen accessible from the extension Options page.
What should I do if I have lost tabs?
If you have lost tabs due to the extension being removed then refer to the section below entitled "How to recover lost tabs without The Great Suspender".
If you have lost tabs due to the extension being disabled, then first re-enable the extension, and then refer to the section below entitled "How to recover lost tabs with The Great Suspender".
If you have lost tabs but the extension still seems to be installed and running, then refer to the section below entitled "How to recover lost tabs with The Great Suspender".
Before continuing, it's worth checking first that you have not simply switched chrome profiles. If you have multiple chrome profiles, then each one will have a separate record of tab history.
How to recover lost tabs with The Great Suspender
The extension comes with its own tab history management UI to help users recover from lost tabs. Go to the extension options page (from 'settings' in the popup or 'options' when right-clicking on the extension). Then in the settings sidebar click on 'Session management'. This will show you your most recent tab sessions. You can click on each session to see more detail on the individual windows and tabs it contains.
To reload a session, simply click the 'reload' link. This will reload all windows and tabs in an 'unsuspended' state. If your session contains a very large number of tabs, then you might instead want to click 'resuspend' which will be much faster as it reloads the tabs in a suspended state.
If for some reason the missing tabs are not in your recent sessions, then please follow the guide below for recovering lost tabs without using The Great Suspender.
If you have access to system backups, you may be able to restore old 'recent sessions' from these backups. The recent sessions are stored in an IndexedDB database at
Chrome/Default/IndexedDB/chrome-extension_klbibkeccnjlkjkiokjodocebajanakg_0.indexeddb.blob/
andChrome/Default/IndexedDB/chrome-extension_klbibkeccnjlkjkiokjodocebajanakg_0.indexeddb.leveldb/
How to recover lost tabs without The Great Suspender
You can attempt to recover lost tabs by using chromes in-built history page. Navigate to chrome://history in a new tab and you will be shown a list of tabs you have visited in the past grouped by date and showing the most recent at the top. Somewhere in this list you will have a record of all the tabs you lost. However it can be a bit tricky to find them as they are mixed in with all the tabs you have visited and purposely closed as well.
For example, if you opened a tab one week ago, and it got suspended and you never revisited that tab, then in chrome history, it will be grouped with all the tabs from one week ago.
You can try searching for "klbibkeccnjlkjkiokjodocebajanakg" to find tabs that were suspended. This may help narrow down the list.
If you do find a lost tab in this list, there is a chance that when you try to reopen it, it will take you to a blank page saying "This site cannot be reached". Please refer to the section below on how to recover these tabs.
My suspended tab says "This site cannot be reached"
It can happen that when you open a suspended tab link, or try to unsuspend a tab, you will see a blank page with the text "This site cannot be reached". And it will have a strange url that looks something like this:
chrome-extension://klbibkeccnjlkjkiokjodocebajanakg/suspended.html#ttl=Google&uri=https://www.google.com
.This is most likely due to the fact that you no longer have The Great Suspender installed in your browser. The easiest way to recover these tabs is to reinstall the extension, and then reload the page.
Should this fail for any reason (which would happen if you tried to open this url in another browser like firefox, or from a device that does not support extensions such as an android phone), then as a last resort you can manually edit the url to recover the tab. Delete everything before the &uri= text in the address bar and the page should reload corrently.
ie: in the example above you would end up with
https://www.google.com
.The text was updated successfully, but these errors were encountered: