From 39541475360d7bc5f094a0582e0e850da4af56bf Mon Sep 17 00:00:00 2001 From: kirbylife Date: Wed, 13 Nov 2024 22:56:00 -0600 Subject: [PATCH] Update rule to hide the item --- mercadolibre-detox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mercadolibre-detox.js b/mercadolibre-detox.js index 75708bf..0d4d563 100644 --- a/mercadolibre-detox.js +++ b/mercadolibre-detox.js @@ -2,7 +2,7 @@ setTimeout(() => { let items = document.getElementsByClassName("ui-search-layout__item"); for(let n = 0; n < items.length; n++) { let item = items[n]; - let isInternational = item.innerHTML.includes("international"); + let isInternational = item.innerHTML.toLowerCase().includes("international"); if(isInternational) { item.style.display = "none"; }