Comment

Comment by gourneau

I really love this! I opened it and just jam on the next key (n).

Use this little snippet to set it to auto-next mode, for a great screensaver. Edit - here is the screensaver https://github.com/gourneau/WebSaver

  setInterval(function(){$("#book_next").click()}, 500)
Watching all of books fly by is wondrous to me because it feels like it is painting some weird version of conscious reality.

Hilary could you please add this bit of code so for auto advancing mode via the query string.

  function getParameterByName(name) {
      var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
      return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
  }

  if (getParameterByName("auto")){
	  setInterval(function(){$("#book_next").click()}, getParameterByName("auto"))
  }
It would work like this, where 500 is the number of milliseconds. http://www.bookbookgoose.com/?auto=500
parent gourneau 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton