Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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') {;} 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