A bookmarklet for the Guardian quick crossword

I’ve been doing the Guardian quick crossword with my colleagues since starting my PhD back in 2012. Eventually, crossword mania took us and we started doing crosswords in the afternoon as well as in the morning. This necessitates printing ‘back issue’ crosswords, which in turn makes getting to those crosswords on my phone1 a little harder than getting to today’s crossword.

It eventually occurred to me that I could create a bookmarklet which would pop up a dialogue asking for the number of the crossword we were doing, and would then take me to that crossword’s page. It’s a bit niche, but the JavaScript for this bookmarklet is below, just in case anyone else finds it useful.

javascript:N=prompt('Quick crossword no','');if(N){location.href='http://www.theguardian.com/crosswords/quick/'+escape(N)}

It should be noted that if you don’t input a number, or you hit cancel, then nothing happens. If you want to be taken to the Guardian’s crossword page instead, then you can add the following code to the end of the bookmarklet.

else{location.href='http://www.theguardian.com/crossword/quick'}

  1. We don’t cheat, we just check our answers. Honest.