Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9798

How to inject code into Gmail

$
0
0

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.


Viewing all articles
Browse latest Browse all 9798

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>