CyPwn → LiveContainer Installer (iOS)

On ipa.cypwn.xyz, replace TrollStore's apple-magnifier installer links with LiveContainer's install URL so the IPA installs inside LiveContainer.

当前为 2025-09-23 提交的版本,查看 最新版本

作者
sharmanhall
评分
0 0 0
版本
0.1
创建于
2025-09-23
更新于
2025-09-23
大小
5.0 KB
许可证
MIT
适用于
所有网站

CyPwn → LiveContainer Installer (iOS)

Swap TrollStore’s installer links on ipa.cypwn.xyz to LiveContainer’s install scheme so tapping “TrollStore Direct” installs the IPA inside LiveContainer instead.

Author: @sharmanhall


What it does

  • Translates
    apple-magnifier://install?url=…livecontainer://install?url=ENCODED(https://…)
  • Hooks clicks before site scripts (capture phase), so you reliably land in LiveContainer.
  • Watches for dynamically inserted buttons (MutationObserver).
  • Optional: patches window.open, location.assign, and location.replace calls that try to launch the TrollStore scheme.

Requirements

  • iPhone/iPad with Safari.
  • LiveContainer v3.3.0+ (adds livecontainer://install?url=…).
  • A userscript manager:
    • Tampermonkey for Safari, or
    • The free Userscripts app.

LiveContainer’s “Install from URL” scheme was introduced in v3.3.0 and documented by the maintainers: livecontainer://install?url=…. TrollStore uses apple-magnifier://install?url=….
(Refs: LC v3.3.0 notes & issue thread; TrollStore scheme background.)

How to use

  1. Install/enable the userscript.
  2. Open ipa.cypwn.xyz and tap “TrollStore Direct” on any app.
  3. Safari will hand the link to LiveContainer, which will fetch and install the IPA inside the container.

Options (edit at top of script)

  • VERBOSE – console logging.
  • ONLY_ON_CYPWN – limit to ipa.cypwn.xyz (default). Set false to translate TrollStore installer links everywhere.
  • PATCH_ANCHORS – hook <a href="apple-magnifier://…">.
  • PATCH_WINDOW_NAV – intercept JS navigations (window.open, location.assign/replace).

Privacy

  • No analytics. No network calls. All work happens locally by intercepting link clicks or URL navigations.

Known limitations / notes

  • If a site triggers the TrollStore installer with unusual inline JS, the fallback patches will try to translate it—but edge cases may exist.
  • If a tap still doesn’t hand off, long-press the Download link, copy the IPA URL, and open:
    livecontainer://install?url=<paste-encoded-IPA-URL-here>

Changelog

  • v0.1 – Initial release: anchor rewriting, dynamic handling, JS navigation patches, iOS check.

License

MIT