Hacker News new | ask | show | jobs
by pooriaazimi 5189 days ago
Another idea popped in my mind: I don't know what the api and rules are, but AFAIK, an app could register itself to open, when the user opens a url with a certain prefix (for example, I think Facebook.app opens and displays iTunes' wall when you go to 'facebook://itunes' - I don't use Facebook so I don't know for sure, but I've seen other apps do this).

You can register for 'newsyc://'.

Now, when a user is on, say, 'http://news.ycombinator.com/item?id=3814563, if s/he opens a simple bookmarklet (which is a 2-line javascript code), s/he'll be redirected to 'newsyc://3814563', and magically your app would open!