Inspired by YouTube. Excluded YouTube by default. Excluded Google Image, Alipay cashier page. Excluded Google Mail. Updated YouTube domain. Updated CSS rules. Excluded Whatsapp Web. Excluded CodePen. Updated CSS. Excluded Chrome pdf viewer. Improved code for nested images (in img tags) and nested background images (in body, div tags).
Please note that this script is not compatible with websites which use dark theme, have nested background images (coded in external js). Please report any incompatible website.