There are 4 previous versions of this script.
// ==UserScript==
// @name YouTube Show Hidden Comments
// @namespace http://userscripts.org/users/23652
// @description Shows hidden thumbed-down comments that can't normally be seen
// @include http://*.youtube.com/watch*v=*
// @include http://*.youtube.com/comment_servlet*
// @copyright JoeSimmons
// @version 1.0.2
// @license Creative Commons Attribution-Noncommercial 3.0 United States License
// ==/UserScript==
function show() {
var comments = document.evaluate(".//div[contains(@id,'comment_') and not(contains(@id,'_btn')) and (contains(@style,'none') or contains(@class,'hid'))]",document.getElementById("recent_comments"),null,6,null), hid=/\s?hid/;
if(comments.snapshotLength>0) for(var i=0,item; (item=comments.snapshotItem(i)); i++) {
if(item.style.display=='none') item.style.display='';
if(item.getAttribute("class")&&item.getAttribute("class").indexOf("hid")!=-1) item.setAttribute("class", item.getAttribute("class").replace(hid,""));
}
}
setInterval(show, 1000);
