Deprecated: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 62

Deprecated: Return type of I::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 91

Deprecated: Return type of I::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 71

Deprecated: Return type of I::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 101

Deprecated: Return type of I::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 53

Deprecated: Return type of Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/collection.php on line 80

Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public/kirby/toolkit/lib/url.php on line 135
One Tap Less | 2013 in Review: Source Codes in Textastic

2013 in Review: Source Codes in Textastic

Last year, Textastic, one of the essential apps in my workflow, got x-callback-url and a few more tricks. One of them allowed you to replace http:// for textastic:// and open the source code from the current browser page in the app. I wrote a script for that using Pythonista. Now I’m making it simpler and faster.

You remember how to create a bookmarklet, right? Just bookmark any page and edit its url to the one given to you. It often starts with javascript:. Add the following code as the url from one of your bookmarks then:

javascript:location.href='textastic'+location.href.substring(4)

If you test it right now, you’ll get the entire source code from this page in Textastic. Easier, right? There’s no need for Pythonista and it runs incredibly fast. Time to study some source codes and improve your web skills while we wait for Textastic’s update for iOS 7.