dropshipping-detox/mercadolibre-detox.js

11 lines
349 B
JavaScript
Raw Normal View History

2022-12-19 21:36:42 +00:00
setTimeout(() => {
let items = document.getElementsByClassName("ui-search-layout__item");
for(let n = 0; n < items.length; n++) {
let item = items[n];
2024-11-23 06:36:43 +00:00
let isInternational = item.innerHTML.toLowerCase().includes("internacional");
2022-12-19 21:36:42 +00:00
if(isInternational) {
item.style.display = "none";
}
}
}, 500);