Skip to main content

Restore your thegreatsuspender tabs.

Project description

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 last-known-good-version on GitHub, release v7.1.6, works well for me, if installed from source. However, your saved tabs 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
  1. Fix your broken tabs:

restore-the-great-suspender-urls --in-file=tabs.json --out-file=tabs-restored.json
  1. 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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

the-great-suspender-restore-urls-0.4.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page