Redirect TikTok links to LiveContainer so they open in the containerized TikTok app.
Redirect any TikTok HTTPS link to the LiveContainer app on iOS so it opens in your containerized TikTok. No tracking, no external requests—just smart link handling.
Author: @sharmanhall
tiktok.com in Safari to LiveContainer.livecontainer://open-web-page?url=BASE64(https://…tiktok link…)lc=1 guard to avoid bounce loops.A userscript manager on iOS:
tiktok.com page or tap a TikTok link anywhere.
→ Safari hands it to LiveContainer, which opens TikTok in the container.VERBOSE – console logging.AUTO_REDIRECT_ON_TIKTOK_PAGES – bounce automatically when already on tiktok.com.REWRITE_LINKS_ON_ALL_PAGES – intercept TikTok links anywhere.ADD_LC_FLAG – append lc=1 to prevent back/forward loops.tiktok:// for apps inside LiveContainer. This script works with HTTPS TikTok links only.If nothing happens when tapping a link, confirm:
livecontainer:// URLs.https://tiktok.com links via “Open in App”.AUTO_REDIRECT_ON_TIKTOK_PAGES = false to keep browsing the TikTok website but still rewrite links elsewhere.MIT.