CyPwn → LiveContainer Installer (iOS, modal-aware)

Rewrite TrollStore installer links inside dynamic #modal_ts_* popups on ipa.cypwn.xyz to LiveContainer install scheme (continuous, SPA-safe).

作者
sharmanhall
今日安裝
0
安裝總數
0
評價
0 0 0
版本
0.3
建立日期
2025-09-23
更新日期
2025-09-23
尺寸
7.7 KB
授權條款
MIT
腳本執行於

CyPwn → LiveContainer Installer (iOS, aggressive)

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


Why this exists

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.

What it does

  • Rewrites:
    • <a href="apple-magnifier://install?url=…">livecontainer://install?url=…
    • data-href, data-url, and even inline onclick strings containing the TrollStore scheme
  • Fires on:
    • document-start, DOM mutations (child + attribute changes), history changes, and a short poll
  • Global interception:
    • Capture-phase click/pointer/touch (with stopImmediatePropagation()), plus window.open / location.assign / location.replace patches (best-effort)
  • iOS-only guard, no iframes (@noframes)

Requirements

  • iPhone/iPad with Safari
  • LiveContainer installed (supports livecontainer://install?url=…)
  • Userscript manager:
    • Tampermonkey for Safari, or
    • The free Userscripts app

How to use

  1. Install and enable the script.
  2. Browse ipa.cypwn.xyz, open any app page, and tap “TrollStore Installer / Direct”.
  3. Safari will hand the link to LiveContainer, which fetches and installs the IPA inside LC.

Notes

  • This script purposely does not touch non-installer links or third-party hosts.
  • If a site uses unusual JS flows, the global intercept + navigation patches should still catch it.
    Worst case: long-press Download, copy the IPA URL, and open:
    livecontainer://install?url=<paste-encoded-IPA-URL>

Privacy

  • No analytics, no external requests. Everything happens locally.

Changelog

  • v0.3Modal-aware rewrite: detects and rewrites TrollStore links inside dynamic #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.
  • v0.2 – Aggressive SPA hardening: attribute observer, global intercept (click/pointer/touch), history hooks, poller, inline-JS rewrites.
  • v0.1 – Initial TrollStore→LiveContainer rewrite.

License

MIT