I'm fairly inexperienced but having looked at the image, I see a mold and a finished product. The finished product has internal detail, so I assumed there is a part to the mold I am not seeing, which would be supplied to create the inside shaping. Nope. Just the bottom part of the mold. The image is very misleading.
if($('.main-content .right-nav .product-list')[0].previousSibling.textContent.includes('7'))
{
$('.main-content .right-nav .product-list')[0].previousSibling.remove();
}
You may need to surround the script in a script tag if there is not one present in the Script content already, like so: