cheeaun/hackerweb — pull request #14 by nfvs (2013-01-30 12:59:06+00:00)
Title: Open HN links inside the app instead of redirecting to news.ycombinator....

I noticed that links to other HN articles always opened outside the webapp, which kind of spoiled the usability for me, so I changed it to open them inside the webapp (same window).

It uses a regular expression to match and get the article ID, and then replaces the href in the link.