Skip to content

Instantly share code, notes, and snippets.

@listba
Last active February 9, 2018 13:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save listba/8cfb45affac036b1156addebf28a3424 to your computer and use it in GitHub Desktop.
Save listba/8cfb45affac036b1156addebf28a3424 to your computer and use it in GitHub Desktop.
Bookmarklet Script for Octopus Deploy to help speed up Creating a Release
javascript:(function(){NodeList.prototype.forEach = Array.prototype.forEach; var v = document.querySelectorAll('div.controls input')[0].value; document.querySelectorAll('input[ng-model]').forEach(function(t) { if (t.getAttribute('type') == 'radio' && t.value == 'specific') {t.click();} else if (t.getAttribute('ng-model') == 'pack.SpecificVersion'){t.value = v; t.dispatchEvent(new UIEvent('change', {'view': window, 'bubbles': true, 'cancelable': true}));}});})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment