commit c8f66e791f3910927d86c99c418a2ae0dfa2a0a0 Author: snow flurry Date: Wed Apr 9 01:22:50 2025 -0700 Initial commit Add LICENSE and README.md Add recipe-seo.txt diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..03e29ac --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ +BSD Zero Clause License + +Copyright (c) 2025 snow flurry + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..78d4cff --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# uBlock Filters + +Various uBlock filters for snow's personal use. diff --git a/recipe-seo.txt b/recipe-seo.txt new file mode 100644 index 0000000..248e73f --- /dev/null +++ b/recipe-seo.txt @@ -0,0 +1,29 @@ +! 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"])