aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/tweaks/bug-page-mod.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/data/tweaks/bug-page-mod.js b/data/tweaks/bug-page-mod.js
index d65e88e..c2a9a0f 100644
--- a/data/tweaks/bug-page-mod.js
+++ b/data/tweaks/bug-page-mod.js
@@ -1025,20 +1025,20 @@ function tbplbotSpamCollapser() {
a.href = "#";
a.addEventListener("click", function(e) {
e.preventDefault();
- var win = document.defaultView.wrappedJSObject;
- var comments = document.querySelectorAll(".bz_comment");
- for (var i = 0; i < comments.length; ++i) {
- var comment = comments[i];
- try {
- if (comment.querySelector(".bz_comment_user a.email").href.substr(7) ==
- "tbplbot@gmail.com") {
- win.collapse_comment(comment.querySelector(".bz_collapse_comment"),
- comment.querySelector(".bz_comment_text"));
- }
- } catch (e) {
- continue;
- }
- }
+// var win = document.defaultView.wrappedJSObject;
+// var comments = document.querySelectorAll(".bz_comment");
+// for (var i = 0; i < comments.length; ++i) {
+// var comment = comments[i];
+// try {
+// if (comment.querySelector(".bz_comment_user a.email").href.substr(7) ==
+// "tbplbot@gmail.com") {
+// win.collapse_comment(comment.querySelector(".bz_collapse_comment"),
+// comment.querySelector(".bz_comment_text"));
+// }
+// } catch (e) {
+// continue;
+// }
+// }
return false;
}, false);
a.appendChild(document.createTextNode("Collapse All tbplbot Comments"));