Skip to content

Instantly share code, notes, and snippets.

@gustavomdsantos
Last active May 28, 2016 22:14
Show Gist options
  • Save gustavomdsantos/a39afefbad5267893f6d4639ad3a4dff to your computer and use it in GitHub Desktop.
Save gustavomdsantos/a39afefbad5267893f6d4639ad3a4dff to your computer and use it in GitHub Desktop.
Greasemonkey / Tampermonkey userscript that removes that black banner ("Download App") in top of Messenger.com pages.
// ==UserScript==
// @name Messenger Banner Remover
// @version 0.1.0
// @namespace com.gustavosotnas.userjs.messengerbannerremover
// @description Removes that black banner ("Download App") in top of Messenger.com pages.
// @author Gustavo Moraes
// @copyright 2016+, Gustavo Moraes (https://github.com/gustavosotnas)
// @include https://www.messenger.com/t/*
// @require https://code.jquery.com/jquery-2.2.4.min.js
// @icon https://gist.githubusercontent.com/raw/a39afefbad5267893f6d4639ad3a4dff/messenger_banner_remover_icon.png
// @updateURL https://gist.githubusercontent.com/raw/a39afefbad5267893f6d4639ad3a4dff/Messenger%20Banner%20Remover.user.js
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.getElementsByClassName("_s15")[0].remove();
})();
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment