How do I recover tab / session information from Chrome / Chromium?

493

Solution 1

Use ccl-ssns (before on Google Code) with the 'Last Tab' and 'Last Session' files in

  • Windows 7, 8.1, and 10: C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default
  • Mac OS X: Users/<username>/Library/Application Support/Google/Chrome/Default
  • Linux: /home/$USER/.config/google-chrome/Default

The Tabs listed in the output HTML with index '0' are the last tabs open.

Solution 2

Attention to passerbys!

The two answers here are both outdated as of July 2021.

The Current Session|Tabs files are no longer used. But you will find in the Default/Sessions/ folder lies the last two sessions and tabs files.

Solution 3

The files that restored my session from the backup files where:

.config/google-chrome/Default/Current\ Session

And

.config/google-chrome/Default/Current\ Tabs

Just copy the files to /home/username/.config/google-chrome/Default

Share:
493

Related videos on Youtube

MrM
Author by

MrM

Updated on September 18, 2022

Comments

  • MrM
    MrM almost 2 years

    I am attempting to create a Jenkins multibranch pipeline with a parameter which defaults to next build release version resolved from pom.xml in a maven project. What I have tried is to store release version in an environment variable and interpolate into defaultValue attribute of the parameter, however in the Jenkins GUI I only get "Null" in the input field. If i echo BUILD_RELEASE_VERSION inside a stage, the release version is correctly displayed.

    enter image description here

    What I have tried

    pipeline {
      agent any
    
      environment {
          BUILD_RELEASE_VERSION = readMavenPom().getVersion().replace("-SNAPSHOT", "")
      }
    
      parameters {
          string(
                  name: "RELEASE_VERSION",
                  description: "Release version.",
                  defaultValue: "${env.BUILD_RELEASE_VERSION}")  
      }
      .....
    }
    

    Any suggestions on how to correctly default to next release version is much appreciated. Thanks.

    • Admin
      Admin over 10 years
      This is a self-answered question for the solution I found, but I'll make it less ambiguous.
  • EHLOVader
    EHLOVader almost 3 years
    Have they moved these files into the Sessions folder by chance?