Created
July 20, 2023 01:46
-
-
Save hradec/ddb668fe4ff842794edbb95266345112 to your computer and use it in GitHub Desktop.
A quick script to fix the broken tabs from TheGreatSuspender plugin that has been blocked by chrome.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/bash | |
# pull an export from FreshStart chrome plugin directly from the clipboard and fix the URLs | |
xclip -o | sed 's/,/,\n/g' | sed 's/chrome.extension.*uri.//g' | tr -d '\n' > /dev/shm/fixTheGreatSuspender | |
# just show the fixed version on the console | |
cat /dev/shm/fixTheGreatSuspender | |
# now copy it back to the clipboard, so we can import in FreshStart | |
xclip -selection c -i < /dev/shm/fixTheGreatSuspender |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install the FreshStart chrome extension so you can save all your broken tabs.
After saving all your windows and tabs, click on the session you just saved, and click on the
export
button:it will show the session as TXT and you can
copy
usingcrtl+c
:After you copy it and it's on the clipbloard, run the fixTheGreatSuspenderTabs.sh script. It will fix the URL of all tabs in all windows and copy the fixed version to the clipboard.
After running the script, you can just import it in FreshStart, using the import button:
Click on the square box and hit
crtl+p
to paste the fixed TXT, and hitimport session
You should end up with a new session on top of the one you previously saved. Just click on it and it should open the windows you saved, with all the tabs and they should load all correctly now.
If you still want to use
TheGreatSuspender
like me, you can follow these instructions from #1263:Personally, I like the idea of running it "unpacked" from a folder on my computer, so it will never change and it will never be blocked again! Not to mention this old 7.1.6 version is waaaaay less memory hungry than the one from the chromestore! ;)