If you ever surf the web on your iOS device and encounter a link that contains something like
go.php?url=, you’re encountering a redirect. However, because you cannot (conveniently) read the php script, you cannot tell if the browser will actually send you to the link after the
= sign. Some less scrupulous webmasters send you somewhere else entirely.
The following solution requires three different iOS apps, but the end result is that you just copy the entire URL to your clipboard, tap on the
Split = action in Launch Center Pro, and Safari will open the URL after the
= sign. (There is also a solution for iCab Mobile and Google Chrome at the end of this article.)
First, on your iOS device tap on this link and choose where in Launch Center Pro you will install the action. The URL scheme is as follows:
What It Does
- It sends the clipboard contents to TextTool, which splits the contents at the = sign and puts each section on its own line. With a go link, the URL you want to open will be the second line.
- After the successful transformation, the results are sent to Drafts.
- Then the line2 URL action in Drafts is performed. This action sends the 2nd line of the draft to Launch Center Pro, and LCP simply opens the URL in Safari.
For example, if you copy
http://url1.com/go.php?url=http://url2.com to the clipboard,
http//url2.com will open in Safari.
Install the Drafts Action
While on your iOS device, tap on this link to install the
line2 URL action in Drafts. It’s simply as follows:
For Other Browsers
Let’s say you’re browsing in iCab Mobile. The workaround is slightly more complicated. The LCP action is exactly the same but we’re replacing the
line2 URL action in Drafts. Tap on this link to install the alternate URL action, which is as follows:
This sends line2 of the Draft to TextTool, which replaces
googlechrome if you want the URL to open there). Upon success, TextTool sends the output to LCP, and LCP opens that URL.