Skip to content

Instantly share code, notes, and snippets.

@phts
Last active March 10, 2017 16:12
Show Gist options
  • Save phts/15ad2470f1d094dec32d05c951645b3d to your computer and use it in GitHub Desktop.
Save phts/15ad2470f1d094dec32d05c951645b3d to your computer and use it in GitHub Desktop.
javascript:(function() {
let bodycontent = document.querySelectorAll('.bodycontainer')[0];
bodycontent.childNodes[1].remove(); /* <hr> */
bodycontent.childNodes[0].remove(); /* <table> with logo */
let maincontent = document.querySelectorAll('.maincontent')[0];
let table = maincontent.childNodes[2];
maincontent.childNodes[1].remove(); /* <hr> */
maincontent.childNodes[0].remove(); /* <table> with email title */
table.childNodes[0].childNodes[1].remove(); /* <tr> with reply-to */
table.childNodes[0].childNodes[0].remove(); /* <tr> with sender */
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment