From a6f86a2982def092aadb1d4b8fe05cad765fee64 Mon Sep 17 00:00:00 2001 From: zyphlar Date: Wed, 2 Jan 2019 04:02:08 +0000 Subject: [PATCH] Update hide-facebook-comments.js --- hide-facebook-comments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hide-facebook-comments.js b/hide-facebook-comments.js index 115ed85..efbc0e7 100644 --- a/hide-facebook-comments.js +++ b/hide-facebook-comments.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Hide Facebook Comments -// @version 2 +// @version 3 // @grant none // @run-at document-start // @match https://*.facebook.com/* @@ -47,7 +47,7 @@ function doCommentHiding(){ hideElementsByClassName("_1bqu"); // commented on your post. hideElementById("pagelet_ego_pane"); hideElementById("pagelet_dock"); // bottom dock and notifications - hideElementsBySelector("fbNotificationsFlyout li[data-gt*='feed_comment']"); // comment notifications + hideElementsBySelector("#fbNotificationsFlyout li[data-gt*='feed_comment']"); // comment notifications hideElementsBySelector("div[data-testid='fbSnowliftUFI/feedbackSummary']"); // gallery comment count hideElementsBySelector("div[data-testid='UFI2CommentsList/root_depth_0']"); // gallery comments //console.log("Hid");