ublock/recipe-seo.txt
snow flurry c8f66e791f Initial commit
Add LICENSE and README.md
Add recipe-seo.txt
2025-04-09 01:22:50 -07:00

29 lines
1.3 KiB
Text

! Title: Remove Recipe SEO Text
! Description: Hides most SEO text on recipe sites. Primarily targeting common WordPress-based plugins.
! License: https://git.2ki.xyz/snow/ublock/src/branch/trunk/LICENSE
! Homepage: https://git.2ki.xyz/snow/ublock
! Expires: 7 days
! Version: 9 April 2025
! WP Recipe Maker
##:has(> div.wprm-recipe-container[data-recipe-id]) > :not([data-recipe-id])
!! Hide elements that snuck into the recipe container but are not the actual recipe
##.wprm-recipe-container:has(> .wprm-recipe) > :not(.wprm-recipe)
! WP Tasty Recipes
##:has(> div.tasty-recipes[data-tr-id]) > :not([data-tr-id])
##.tasty-recipes-display .block-save-recipe
! Create by Mediavine
##:has(> div > .mv-create-card.mv-recipe-card) > :not(:has(> .mv-create-card))
!! Remove unnecessary interactables ("recommended products", rating box, etc)
##.mv-create-card .mv-create-products
##.mv-create-card .mv-create-reviews
!! Hides the "Pin to Pinterest" button, if it exists. If you use that, comment this out
##.mv-create-card .mv-pinterest-btn
! Recipe Card Blocks by WPZOOM
##:has(> #wpzoom-premium-recipe-card) > :not(#wpzoom-premium-recipe-card)
##:has(> .wpzoom-custom-recipe-card-post) > :not(.wpzoom-custom-recipe-card-post)
!! This one's especially flaky, but seems to hold up okay for now
##:has(> div[id^="wpzoom-recipe-card"]) > :not(div[id^="wpzoom-recipe-card"])