Comment

Comment by simonw

In case you were wondering how it works, this library is a rack middleware wrapper around this JavaScript:

      <script>
        var annotated = window.location.href.indexOf("genius.it/") != -1;
        if (annotated) {
          window.location.href = window.location.href.replace("genius.it/", "")
        }
      </script>
parent simonw 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton