SlidySim Online Long Replay Links Fix

Resolves the "URI Too Long" error when loading large replays on SlidySim Online and bypasses Google redirect error page

ئاپتورى
dphdmn
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
4
باھا نومۇرى
1 0 0
نەشرى
1.2.0
قۇرۇلغان ۋاقتى
2025-02-23
يېڭىلانغان ۋاقتى
2025-03-05
Size
2.3 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Script Description:

The SlidySim Online Long Replay Links Fix is a user script designed to resolve the "URI Too Long" error that occurs when attempting to load large replay links on SlidySim Online. When a replay URL exceeds the maximum length allowed by browsers, the site fails to load the replay, displaying an error message instead. This script provides a seamless workaround by saving the replay data to the browser's local storage and redirecting to a shorter URL, ensuring that the replay can still be loaded without issues.

How It Works:

  • When the script detects the "URI Too Long" error, it saves the current replay URL to the browser's local storage.
  • The user is then redirected to the shorter replay page (https://slidySim.online/replay).
  • On the replay page, the script retrieves the saved replay data from local storage, extracts the replay parameter, and loads the replay using the loadCustomReplay function.

Compatibility:

长期地址
遇到问题?请前往 GitHub 提 Issues。