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?