Update hide-facebook-comments.js

This commit is contained in:
Will Bradley 2019-01-02 04:02:08 +00:00
parent 4c38203faf
commit a6f86a2982

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name Hide Facebook Comments // @name Hide Facebook Comments
// @version 2 // @version 3
// @grant none // @grant none
// @run-at document-start // @run-at document-start
// @match https://*.facebook.com/* // @match https://*.facebook.com/*
@ -47,7 +47,7 @@ function doCommentHiding(){
hideElementsByClassName("_1bqu"); // <user> commented on your post. hideElementsByClassName("_1bqu"); // <user> commented on your post.
hideElementById("pagelet_ego_pane"); hideElementById("pagelet_ego_pane");
hideElementById("pagelet_dock"); // bottom dock and notifications 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='fbSnowliftUFI/feedbackSummary']"); // gallery comment count
hideElementsBySelector("div[data-testid='UFI2CommentsList/root_depth_0']"); // gallery comments hideElementsBySelector("div[data-testid='UFI2CommentsList/root_depth_0']"); // gallery comments
//console.log("Hid"); //console.log("Hid");