Redirect Instagram links to LiveContainer so they open in the containerized Instagram app on iOS.
Redirect any Instagram HTTPS link (including instagr.am and ig.me DM links) to the LiveContainer app on iOS so it opens in your containerized Instagram.
No tracking, no external requests—just smart link handling.
Author: @sharmanhall
instagram.com in Safari to LiveContainer.livecontainer://open-web-page?url=BASE64(https://…instagram link…)lc=1 guard to avoid bounce loops.@noframes so embeds/ads in iframes aren’t touched.instagram.com page or tap an Instagram link anywhere.VERBOSE – console logging.AUTO_REDIRECT_ON_INSTAGRAM_PAGES – bounce automatically when already on Instagram.REWRITE_LINKS_ON_ALL_PAGES – intercept Instagram links anywhere.ADD_LC_FLAG – append lc=1 to prevent back/forward loops.instagram.com, instagr.am, and ig.me.l.instagram.com redirects or generic shorteners.AUTO_REDIRECT_ON_INSTAGRAM_PAGES = false to keep browsing the website but still rewrite links elsewhere.@run-at document-start, @noframes, double-hook guard, global click fallback, safer Base64, expanded URL support.MIT