Redirect Reddit links to LiveContainer so they open in the containerized Reddit app.
当前为
Redirect any Reddit HTTPS link (including redd.it shortlinks) to the LiveContainer app on iOS so it opens in your containerized Reddit.
No tracking, no external requests—just smart link handling.
Author: @sharmanhall
reddit.com (including old.reddit.com / np.reddit.com) in Safari to LiveContainer.redd.it shortlinks.livecontainer://open-web-page?url=BASE64(https://…reddit or redd.it link…)lc=1 guard to avoid bounce loops.@noframes so embeds/ads in iframes aren’t touched.reddit.com / redd.it page or tap a Reddit link anywhere.VERBOSE – console logging.AUTO_REDIRECT_ON_REDDIT_PAGES – bounce automatically when already on Reddit.REWRITE_LINKS_ON_ALL_PAGES – intercept Reddit links anywhere.ADD_LC_FLAG – append lc=1 to prevent back/forward loops.reddit.com and redd.it).data-expanded-url) that points to Reddit, the script will use it.i.redd.it or v.redd.it aren’t explicitly targeted to avoid hijacking pure media/file links.redditHosts set.)AUTO_REDIRECT_ON_REDDIT_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, shortlink support.MIT