Skip to content

Instantly share code, notes, and snippets.

@sgreenfield
Last active September 29, 2015 22:38
Show Gist options
  • Save sgreenfield/1679885 to your computer and use it in GitHub Desktop.
Save sgreenfield/1679885 to your computer and use it in GitHub Desktop.
Quick and Dirty Bookmarklet for Github Pull Requests *** FF 20 Security prevents bookmarklets. about:config => security.csp.enable: false
javascript:(function(){var%20$commits=$('.commits-condensed%20td.message'),title=$.trim($commits.last().text())+'...',pullBody='';$commits.each(function(){pullBody+=$.trim($(this).text())+'%20%20';});$('.title.required').val(title);$('#pull_body').val(pullBody);$('.form-actions .button.primary').removeAttr('disabled');})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment