Skip to content

Instantly share code, notes, and snippets.

@dakotahp
Last active November 8, 2016 20:40
Show Gist options
  • Save dakotahp/6274938 to your computer and use it in GitHub Desktop.
Save dakotahp/6274938 to your computer and use it in GitHub Desktop.
Bookmarklet increase readability (by increasing line height) on websites designed by robots. Purpose is for all pages to be more readable but not not a replacement for Safari Reader, or Readability and Instapaper bookmarklets
javascript:document.getElementsByTagName("body")[0].style.lineHeight = "1.5em";if($){ $("p, .post-content").attr("style", "line-height: 1.5em") }
@nspassov
Copy link

nspassov commented Nov 8, 2016

Sadly could not get this to work with Safari 10 on El Capitan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment