Skip to content

Instantly share code, notes, and snippets.

@buley
Created December 7, 2015 08:06
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 buley/71d5d0910e99d0c49c7a to your computer and use it in GitHub Desktop.
Save buley/71d5d0910e99d0c49c7a to your computer and use it in GitHub Desktop.
Cancel all pending ("created") Travis-CI builds
javascript:window.jQuery.fn.reverse=[].reverse;window.jQuery(".icon.created").reverse().each(function(e,n){setTimeout(function(){var e=$(n).parent().attr("href"),t=e?window.open(e):{addEventListener:function(){}};t.addEventListener("load",function(){setTimeout(function(){t.jQuery(".button-circle-cancel").click()},3e3);setTimeout(function(){t.close()},2e4)})},5e3*e)});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment