3

Gmail has Social and Promotions tabs that regularly have advertisements at the top of the list. After playing around with the console, it was discovered that running $("li[data-tooltip='Delete']").click(); can be used to get rid of those advertisements. Is there some way that this code could be injected into Gmail to automatically remove advertisements when they show up?

Tampermonkey is already installed on Google Chrome, but other extensions are welcome if necessary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.