Skip to content

Instantly share code, notes, and snippets.

@cpb
Created March 6, 2012 21:10
Show Gist options
  • Save cpb/1988988 to your computer and use it in GitHub Desktop.
Save cpb/1988988 to your computer and use it in GitHub Desktop.
Bookmarklet for Webkit Browsers to make GitHub Pull Requests full screen
javascript:["#slider .frames .frame",".mini-avatar-bubble",".line-comments .clipper",".site", ".site .container","#files_bucket",".discussion-timeline"].forEach(function(i) { try { var set=document.querySelectorAll(i); for(var e=0; e<set.length; e++) {set[e].style.setProperty('width','auto');} } catch(e) { console.log(e) } });[".site"].forEach(function(i) { try { document.querySelector(i).style.setProperty('margin-left','31px'); } catch(e) { console.log(e) } })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment