1(function(){ 2 var listOfActions = Array.prototype.slice.call(document.querySelectorAll('[class^="AccountOrderDetailsOverviewComponent"]'), 0); 3 var firstVisibleAction = listOfActions.filter(function(element){ 4 return element.childElementCount > 0; 5 })[0]; 6 if (firstVisibleAction){ 7 var target = firstVisibleAction.querySelectorAll('input[type="submit"], button')[0]; 8 target.className = target.className.replace(/btn\-default/g,'btn-primary'); 9 } 10})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.