Skip to content

Instantly share code, notes, and snippets.

@jweir
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jweir/0f41da36760448487582 to your computer and use it in GitHub Desktop.
Save jweir/0f41da36760448487582 to your computer and use it in GitHub Desktop.
I dislike the slide deck that the Go team uses for the presentations. It is a bit of a pain to read and follow on a desktop. This bit-o-JS will turn the slide deck into a normal scrolling page.
$('article').attr('class','current').css({position: 'relative', margin: 10, padding: '20px',top: 0, left: 0, height: 'auto', width: 'auto'}), $('#help').remove(), document.removeEventListener('keydown', handleBodyKeyDown), $('h2').css({position:'static'})
@jweir
Copy link
Author

jweir commented Aug 21, 2015

To turn this into a book-marklet – create a bookmark, edit the url to be javacript:void(...) and paste the above between the parentheses.

Try it out by visiting http://talks.golang.org/2015/tricks.slide

After running the script you should just be able to scroll normally.

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