Home How to prevent a HTML tag with a certain attribute from displaying in Google Chrome
Reply: 0

How to prevent a HTML tag with a certain attribute from displaying in Google Chrome

user761
1#
user761 Published in April 24, 2018, 8:32 am

I have been using Stylish, an extension for Google Chrome to stop annoying ads and other items from displaying. Basically, you need the class name or id of the tag and you can prevent it from displaying when the website loads.

I have this following item that I also want to stop displaying but it doesn't have an id and the class name is common with other li items which I want to display.

<li role="rowgroup" data-test-id="infinite-scroll-AD" class="p_a T_0 L_0 R_0" style="transform: translate3d(0px, 0px, 0px);"></li>

In this case, I need to target data-test-id="infinite-scroll-AD" but how to do that in Stylish or another extension supported by Google Chrome browser?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.391725 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO