Instantly share code, notes, and snippets.

Embed
What would you like to do?
Random Instapaper Article Bookmarklet
// based on http://avoidtheinevitable.wordpress.com/2013/01/21/instapaper-random-article-bookmarklet/ updated to
// Instapaper's latest design. This only picks a random article from the first page of Instapaper items
javascript:var l=document.querySelectorAll(".article_item .article_inner_item .host a");l[Math.floor(1+Math.random()*l.length)].click();
@ajorgensen

This comment has been minimized.

ajorgensen commented Jun 29, 2016

If you want to view it in instapaper's native view you can change it to

javascript:var l=document.querySelectorAll(".article_title");l[Math.floor(1+Math.random()*l.length)].click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment