Copy the full list of failures from a CircleCI build with one click!
Create a new bookmark in your browser, and use the minified cci_failures.min.js
code as the bookmark's URL.
Click the bookmark!
(function() { | |
var f = Array.from(new Set([].slice.call(document.getElementsByClassName('css-egzlg0')).map(e => e.innerHTML))).join(' '); | |
var t = document.createElement("textarea"); | |
t.textContent = f; | |
var s = document.getSelection(); | |
s.removeAllRanges(); | |
// Add the text area containing the list of files to the body so that we | |
// can select and copy the text. | |
document.body.appendChild(t); | |
t.select(); | |
document.execCommand('copy'); | |
s.removeAllRanges(); | |
document.body.removeChild(t); | |
})(); |
javascript: (function() {var f = Array.from(new Set([].slice.call(document.getElementsByClassName('css-egzlg0')).map(e => e.innerHTML))).join(' ');var t = document.createElement("textarea");var s = document.getSelection();t.textContent = f;document.body.appendChild(t);s.removeAllRanges();t.select();document.execCommand('copy');s.removeAllRanges();document.body.removeChild(t);})(); |