Skip to content

Instantly share code, notes, and snippets.

@gustavomdsantos
Last active April 3, 2024 13:47
Show Gist options
  • Save gustavomdsantos/0fa1710f7bb121a2818efc1520cf3e33 to your computer and use it in GitHub Desktop.
Save gustavomdsantos/0fa1710f7bb121a2818efc1520cf3e33 to your computer and use it in GitHub Desktop.
"WhatsApp Web" Banner Remover - User JS for Greasemonkey / Tampermonkey.
// ==UserScript==
// @name Welcome WhatsApp Remover
// @version 0.2
// @description Removes WhatsApp's Welcome banner that is annoying.
// @author Gustavo Moraes ([email protected])
// @match https://web.whatsapp.com/*
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAyVBMVEUAAADo6Ojh4eHh4eHl5eXi4uLi4uL19fXx /Li4uL19fXo6Oji4uLh4eHw8PD4 Pj39/fg4ODo6Oj////7 /v////wOhc/xFAquEBV0WFKylk1vknLWSNUwlT5/Prx8fH/9/X0aE6/WyJXyFtCtUU2tULo6OXm OiM2pTFYyr 8O696sNKukyy6Lmk5Kz1cFfzYESb4KRxz4Bq0nfX89vL7M161oZFv1lst1dEpzviYDmneTObcypUs0qvYyXDzKGSvXPLhFa5eDwndQpcAAAAFXRSTlMALBsL8KmJTvvY0blkTeOhg5V4tI7gNRmLAAACfUlEQVRIx4WVi1riMBCFC4KCwLq6Oy20pVUuBamwi9xB3cv7P5STmdxKqv7lI58z52QyaQyeS UmAebHlfclVyw2fP9U/hNKuP54dviAm3J9Q Xnqx6z0Ou7cOUXSt0rMAXGab/C8UXPYaubd/VJr5QNO9z1/NmXG/Z/nVUBMjv6/uPQlQ8ffT eFTv/Bsg/H4nREdIjhxD1yH8QFBpYx750EKGen8NT 32Qu3fylSM0D qJU29iSrRJH/Zjzj30Q4XWxxgzpwSQCWaV46gdfUsfLlWJKiCcj628 zcgl2i4xjFhRfZgFK4/F0K5oimH4F47HD0i18QrCvDBiHHY kCmkY7XEUPAgOXQ kAjdrbl1fG7EdAcwdxyKD2lOL3AdErHIscolxCO2NI/YQI/zIq6TvF7GcgSE9qB2NKT3G6CDNNAAYJXZXjVcZPVFZgtd2EqEBEPpkJOQYpPWG87IpXlHpq0SwbSa47o0Cxply7pPegST2r/Bzz zuzqADU e5FipM74/UY5Zkkgk/L0ieE5Cugxeu6dHRBRkgxVj7pOzuenN/hLOTg759PKTRT0g9EGCo6RXlFN/cetbf0Yl5DYjlg46BqoCEMNkIKeyM8cgKTWtdd9UfquIlokyvHSXQPSNvdYozvQ kg gjGH45UpIDeWKpDeYBwnEFQtA2fehD4qfsZv6m5tSX2HDMjh0C3lsAdBxnK Z/LuJ8xBNWBWtMP4LhetOOzA6I0hWoBkW5QPgcmM/g7OSKZK/TxRsZpnSOBL0jvPworX0jJ50vRsqlKcXYqfsLpjSZsYt2nhFFm96ikqzSzRc6e1jndO1qo4sWr7tl6/bWPC5R3snLTeV41ihAAAAABJRU5ErkJggg==
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant GM_addStyle
// ==/UserScript==
(function() {
'use strict';
function removeWelcomeBanner (jNode) {
$("._al_d")[0].remove();
$("._al_c").css("background-color", "#0b141a");
}
waitForKeyElements ("._al_d", removeWelcomeBanner);
})();
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