Last active
August 29, 2015 14:27
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('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'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.