mgziminsky / FacebookTrackingRemoval

Browser extension that removes ads and the user interaction tracking from content on Facebook
GNU General Public License v3.0
121 stars 19 forks source link

Remove new Messenger popup #59

Closed NguyenASang closed 2 years ago

NguyenASang commented 2 years ago

Describe the feature request Add an option to remove "new Messenger" popup appears in Facebook Messenger.

To Reproduce

  1. Go to https://www.facebook.com/messages
  2. A popup will appear

Screenshot

download (1)

Additional context The new version has removed "Sponsored posts" in Facebook Watch and the "Custom CSS" has been fixed, thank you very much.

mgziminsky commented 2 years ago

Sorry, once again, I'm not going to add a one off option just for this. I also think hiding this type of modal dialog is out of the scope of this extension.

To achieve this, you would be better off using the "element picker" feature of the uBlock Origin extension. You can also try to identify the appropriate rule for this extension yourself and add it as another custom rule, but I don't think I'm going to add it here.

NguyenASang commented 2 years ago

Hi, thanks for the reply, but I really can't find the rule to remove that, I try many times with AdGuard extension but no hope. Can you create a rule to remove that popup, thanks in advance.

Edit: I found the rule to remove it with AdGuard. But when I add it in the "custom CSS", it doesn't work. Rule: "div > div > div > div:nth-child(8) > div > div > div > div > div > div > div:nth-child(3)"

mgziminsky commented 2 years ago

This extension is not compatible with AdGuard rules, you need to add it to AdGuard. This extension works very differently from other ad blockers, it's specifically for FB in order to work around their anti-adblocking tricks.

I'm not familiar with AdGuard, but highly recommend uBlock Origin, which has a built-in tool for doing exactly this sort of thing: https://github.com/gorhill/uBlock/wiki/Element-picker

NguyenASang commented 2 years ago

Well, thank you for your suggestion, I'm still considering between uBlock Origin and AdGuard. But I think I will choose uBlock Origin :D