Skip to content

Instantly share code, notes, and snippets.

@caseywatts

caseywatts/0 README.md

Last active Dec 16, 2020
Embed
What would you like to do?
Remove "New! Messenger App for Windows" Banner

Other gists & tricks: http://caseywatts.com/gists-and-tricks

Remove Facebook Messenger's "New! Messenger App for Windows" Banner

Bookmarklet

  1. Save this bookmarklet. Right-click on boomarks toolbar Add Page...
    • Name: Remove Messenger Banner (or whatever you like)
    • URL: (paste in the bookmarklet.js contents below)
  2. Each time you open messenger.com, click the bookmarklet and that pesky banner will be gone.

Curious how bookmarklets work? Check out Casey's bookmarklet tutorial

Console

alternatively you could paste the "paste-into-console" one into the javascript console if you want to tinker with it

Browser Extension

This could easily auto-run on the page if it was thrown into a browser extension, I just didn't do it myself. If you do, please share in the comments!

javascript:((document.querySelector('[aria-label="New! Messenger App for Windows"]').parentElement.parentElement.remove())());
document.querySelector('[aria-label="New! Messenger App for Windows"]').parentElement.parentElement.remove()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment