Rewrite TrollStore installer links inside dynamic #modal_ts_* popups on ipa.cypwn.xyz to LiveContainer install scheme (continuous, SPA-safe).
On ipa.cypwn.xyz, continuously translate TrollStore’s
apple-magnifier://install?url=… → LiveContainer livecontainer://install?url=ENCODED(…)
—even when the site updates in-place (SPA).
Author: @sharmanhall
CyPwn often injects the “TrollStore Installer” link dynamically without changing the page URL. Simple one-shot rewrites miss those updates. This script stays vigilant and swaps the scheme whenever and wherever it appears.
<a href="apple-magnifier://install?url=…"> → livecontainer://install?url=…data-href, data-url, and even inline onclick strings containing the TrollStore schemestopImmediatePropagation()), plus window.open / location.assign / location.replace patches (best-effort)@noframes)livecontainer://install?url=…)livecontainer://install?url=<paste-encoded-IPA-URL>#modal_ts_* popups; hooks [data-modal-target] / [data-modal-toggle] to rescan on open; focuses scans on the modal subtree; adds capture-phase click guard; optional button relabel to “LiveContainer Install”; keeps SPA hardening + programmatic nav patches.MIT