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");