Hacker News new | ask | show | jobs
by amelius 3716 days ago
Or you could just open the developer console ...
2 comments

And most people do, but that's not fun or interesting. It's OK to do useless things because they're fun or interesting.
Where's the JavaScript REPL on iPhone Safari?
Exactly. Now when I need a JS REPL on my iPhone, I can just think "Facebook!" and chat with the bot..

Alternative: http://thumbsnap.com/s/rd1sV73V.png?0421

You can create a bookmark, save it, and edit it to a "javascript:" link which mobile Safari will execute.

If you normally try to type JavaScript in the address bar, Safari will say, "JavaScript is not allowed to be used this way."