Bookmarklet and JavaScript Sample Code to Bulk Show GitHub Hidden Comments
I’ll introduce JavaScript code and a bookmarklet to bulk show all GitHub issue Hidden Comments.
You know when you want to Show comment all hidden comments in a GitHub issue so you can search them in the browser, right?
javascript:(function(){var detailsElements = document.getElementsByClassName("Details-element"); Array.prototype.filter.call(detailsElements, function(detailsElement){ detailsElement.open = true; });})();
var detailsElements = document.getElementsByClassName("Details-element");
Array.prototype.filter.call(detailsElements, function(detailsElement){
detailsElement.open = true;
});
That’s all from the Gemba.