Skip to content

Instantly share code, notes, and snippets.

@VityaSchel
Created October 8, 2020 13:28
Show Gist options
  • Save VityaSchel/aba982d2f651807f511c3ad72d7e741b to your computer and use it in GitHub Desktop.
Save VityaSchel/aba982d2f651807f511c3ad72d7e741b to your computer and use it in GitHub Desktop.
Remove ads from PC version of mail.yandex.ru by index... Use any simple extension like AddJS to append this script on mail.yandex.ru domain
setInterval(function(){
let jslayout = document.getElementsByClassName("js-layout-aside-inner-box");
if(jslayout[0] != undefined){
if(jslayout[0].children.length > 7){
jslayout[0].children[6].outerHTML = "";
jslayout[0].children[7].outerHTML = "";
}
}
},100);
// https://mail.yandex.ru/monitoring_liza.txt -- ???
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment