Skip to content

barseghyanartur/the-great-suspender-restore-urls

Repository files navigation

the-great-suspender-restore-urls

Restore the broken URLs of the Great Suspender browser (Google Chrome, Firefox) extension.

PyPI Version

Supported Python versions

MIT

Background

If you used to use The Great Suspender Chrome extension, you would notice (as of 2021-02-04) that it has been banned by Google Chrome for being a malware.

The Marvellous Suspender (fork of the last-known-good-version GitHub release v7.1.6), works well for me. However, your existing suspended tabs (suspended by The Great Suspender) won't reload as something has changed in between the good and the bad releases.

What to do? Would you just loose all precious URLs and saved sessions? If you are OK with that, just pass by. Otherwise, read further.

How to fix the broken tabs

Locally (using this package)

  1. Use the FreshStart - Cross Browser Session Manager extension to export all your tabs into a JSON and save it into a file (for instance, name it tabs.json).
  2. Install the-great-suspender-restore-urls (this) package:

    pip install the-great-suspender-restore-urls
  3. Fix your broken tabs:

    restore-the-great-suspender-urls --in-file=tabs.json --out-file=tabs-restored.json
  4. Use the FreshStart - Cross Browser Session Manager to import the tabs back (paste the contents of the tabs-restored.json in the import session window).

Online

Build with FastAPI, VueJS and the the-great-suspender-restore-urls (this) package.

Usage options

--session-name-suffix

By default, your existing session names will get a " - cleaned" suffix. In order to tweak that, use the --session-name-suffix argument.

restore-the-great-suspender-urls \
    --in-file=tabs.json \
    --out-file=tabs-restored.json \
    --session-name-suffix=' - FIXED' \
    --verbose

--extension-id

The URL prefix used to identify tabs suspended by The Great Suspender extension looks as follows: chrome-extension://klbibkeccnjlkjkiokjodocebajanakg/suspended.html, where the klbibkeccnjlkjkiokjodocebajanakg is the extension ID. If you leave this argument out, regular expression match will be used.

restore-the-great-suspender-urls \
    --in-file=tabs.json \
    --out-file=tabs-restored.json \
    --extension-id='klbibkeccnjlkjkiokjodocebajanakg' \
    --verbose

--verbose

To have a verbose output, add the --verbose argument.

restore-the-great-suspender-urls \
    --in-file=tabs.json \
    --out-file=tabs-restored.json \
    --verbose

Prerequisites

  • Python 3.6, 3.7, 3.8 or 3.9.

License

MIT

Support

For any issues contact me at the e-mail given in the Author section.

Author

Artur Barseghyan <artur.barseghyan@gmail.com>

About

Restore the broken URLs of the Great Suspender browser (Google Chrome, Firefox) extension.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published