Fix minor bug
parent
da889e6c06
commit
447d6dda10
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "dropshipping-detox",
|
"name": "dropshipping-detox",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "Oculta todos los productos de \"importación\" de MercadoLibre México/Argentina y Amazon México.",
|
"description": "Oculta todos los productos de \"importación\" de MercadoLibre México/Argentina y Amazon México.",
|
||||||
"icons": {
|
"icons": {
|
||||||
"48": "icons/48.png",
|
"48": "icons/48.png",
|
||||||
|
|
|
@ -2,7 +2,7 @@ setTimeout(() => {
|
||||||
let items = document.getElementsByClassName("ui-search-layout__item");
|
let items = document.getElementsByClassName("ui-search-layout__item");
|
||||||
for(let n = 0; n < items.length; n++) {
|
for(let n = 0; n < items.length; n++) {
|
||||||
let item = items[n];
|
let item = items[n];
|
||||||
let isInternational = item.innerHTML.toLowerCase().includes("international");
|
let isInternational = item.innerHTML.toLowerCase().includes("internacional");
|
||||||
if(isInternational) {
|
if(isInternational) {
|
||||||
item.style.display = "none";
|
item.style.display = "none";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue