Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Post History
Warning: this will result in the entire window the tab was located in, to be deleted Warning: windows.plist is invalid without its data.data file. Back up both before proceeding. Skip the first t...
#3: Post edited
- #### Warning: this will result in the entire window the tab was located in, to be deleted
- #### Warning: `windows.plist` is invalid without its `data.data` file. Back up both before proceeding.
- Skip the first two steps if you remember the name of the tab.
- 1. Find and inspect `~/Library/Safari/History.db `
- A suitable application is DB4S, which can be installed with `brew install --cask db-browser-for-sqlite`
- 2. Inspect `history_visits` and sort by `visit_time` to find the latest entry. Use `title` in the next step.
- 3. Open `~/Library/Saved Application State/com.apple.Safari.savedState/windows.plist`
4. Search for the page title from the previous state. It's the value for an `NSTitle` key. Once found, delete the enclosing dict.- 5. Start Safari. Every window except the one with the latest tab should now open. The window is likely lost because `data.data` now has a mismatch with entries for that window in `windows.plist`.
- The window may be recoverable by using the application menu to choose to open the last closed window. I made too many mistakes in the process and lost this chance.
- #### Warning: this will result in the entire window the tab was located in, to be deleted
- #### Warning: `windows.plist` is invalid without its `data.data` file. Back up both before proceeding.
- Skip the first two steps if you remember the name of the tab.
- 1. Find and inspect `~/Library/Safari/History.db `
- A suitable application is DB4S, which can be installed with `brew install --cask db-browser-for-sqlite`
- 2. Inspect `history_visits` and sort by `visit_time` to find the latest entry. Use `title` in the next step.
- 3. Open `~/Library/Saved Application State/com.apple.Safari.savedState/windows.plist`
- 4. Search for the page title from the previous step. It's the value for an `NSTitle` key. Once found, delete the enclosing dict.
- 5. Start Safari. Every window except the one with the latest tab should now open. The window is likely lost because `data.data` now has a mismatch with entries for that window in `windows.plist`.
- The window may be recoverable by using the application menu to choose to open the last closed window. I made too many mistakes in the process and lost this chance.
#2: Post edited
- #### Warning: this will result in the entire window the tab was located in, to be deleted
- #### Warning: `windows.plist` is invalid without its `data.data` file. Back up both before proceeding.
- 1. Find and inspect `~/Library/Safari/History.db `
- A suitable application is DB4S, which can be installed with `brew install --cask db-browser-for-sqlite`
- 2. Inspect `history_visits` and sort by `visit_time` to find the latest entry. Use `title` in the next step.
- 3. Open `~/Library/Saved Application State/com.apple.Safari.savedState/windows.plist`
- 4. Search for the page title from the previous state. It's the value for an `NSTitle` key. Once found, delete the enclosing dict.
- 5. Start Safari. Every window except the one with the latest tab should now open. The window is likely lost because `data.data` now has a mismatch with entries for that window in `windows.plist`.
- The window may be recoverable by using the application menu to choose to open the last closed window. I made too many mistakes in the process and lost this chance.
- #### Warning: this will result in the entire window the tab was located in, to be deleted
- #### Warning: `windows.plist` is invalid without its `data.data` file. Back up both before proceeding.
- Skip the first two steps if you remember the name of the tab.
- 1. Find and inspect `~/Library/Safari/History.db `
- A suitable application is DB4S, which can be installed with `brew install --cask db-browser-for-sqlite`
- 2. Inspect `history_visits` and sort by `visit_time` to find the latest entry. Use `title` in the next step.
- 3. Open `~/Library/Saved Application State/com.apple.Safari.savedState/windows.plist`
- 4. Search for the page title from the previous state. It's the value for an `NSTitle` key. Once found, delete the enclosing dict.
- 5. Start Safari. Every window except the one with the latest tab should now open. The window is likely lost because `data.data` now has a mismatch with entries for that window in `windows.plist`.
- The window may be recoverable by using the application menu to choose to open the last closed window. I made too many mistakes in the process and lost this chance.
#1: Initial revision
#### Warning: this will result in the entire window the tab was located in, to be deleted #### Warning: `windows.plist` is invalid without its `data.data` file. Back up both before proceeding. 1. Find and inspect `~/Library/Safari/History.db ` A suitable application is DB4S, which can be installed with `brew install --cask db-browser-for-sqlite` 2. Inspect `history_visits` and sort by `visit_time` to find the latest entry. Use `title` in the next step. 3. Open `~/Library/Saved Application State/com.apple.Safari.savedState/windows.plist` 4. Search for the page title from the previous state. It's the value for an `NSTitle` key. Once found, delete the enclosing dict. 5. Start Safari. Every window except the one with the latest tab should now open. The window is likely lost because `data.data` now has a mismatch with entries for that window in `windows.plist`. The window may be recoverable by using the application menu to choose to open the last closed window. I made too many mistakes in the process and lost this chance.