Share Data Across URLs with `lz-string`

This example demonstrates how to compress data using lz-string, embed it into a URL fragment (#/compressed_data), and open multiple new tabs with those URLs.

It also shows how a page would extract and decompress this data upon loading.

1. Send Data to New Tabs

Enter the data you want to share. This will be compressed and placed in the URL fragment of new tabs.


Generated URLs:

These are the URLs that will be opened in new tabs:

2. Receive Data (on this page, if opened with a fragment)

This section shows the data extracted from the current page's URL fragment.

Current URL Hash Fragment:

Decompressed Data: