I want to try find an image that has a src that starts with a particular path and change its css properties with vanilla js. Assume I don't have access to its id o class.
Here's something similar using jquery:
$("img").each(function(i, elem){
if ($(this).attr("src") == "http://googl"){
$(this).css('display','none');
}
});