From d1b631c7959213bf8914b9e5dfd36e94b982ebf9 Mon Sep 17 00:00:00 2001 From: zyphlar Date: Wed, 2 Jan 2019 03:57:58 +0000 Subject: [PATCH] Update hide-facebook-comments.js --- hide-facebook-comments.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hide-facebook-comments.js b/hide-facebook-comments.js index 3199e55..df69834 100644 --- a/hide-facebook-comments.js +++ b/hide-facebook-comments.js @@ -68,12 +68,9 @@ function hideElementsByClassName(name) { } function hideElementsBySelector(selector) { - var e = document.getElementById(id); - if (e) { - var f = e.querySelectorAll(selector); - for (var i=0;i