Compare commits

...

2 Commits

Author SHA1 Message Date
kirbylife aecde226ed add the icon in different sizes 2022-12-19 15:53:55 -06:00
kirbylife c1335ba0ad Initial commit 2022-12-19 15:36:42 -06:00
10 changed files with 52 additions and 0 deletions

10
amazon-detox.js 100644
View File

@ -0,0 +1,10 @@
setTimeout(() => {
let items = document.getElementsByClassName("s-result-item");
for(let n = 0; n < items.length; n++) {
let item = items[n];
let isInternational = item.innerHTML.includes("01siZb3GpxL");
if(isInternational) {
item.style.display = "none";
}
}
}, 500);

BIN
icons/144.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
icons/168.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
icons/192.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
icons/48.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
icons/72.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
icons/96.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
icons/icon.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

32
manifest.json 100644
View File

@ -0,0 +1,32 @@
{
"manifest_version": 2,
"name": "dropshipping-detox",
"version": "1.0",
"description": "Oculta todos los productos de \"importación\" de MercadoLibre México y Amazon México.",
"icons": {
"48": "icons/48.png",
"72": "icons/72.png",
"96": "icons/96.png",
"144": "icons/144.png",
"168": "icons/168.png",
"192": "icons/192.png"
},
"content_scripts": [
{
"matches": [
"*://*.mercadolibre.com.mx/*"
],
"js": [
"mercadolibre-detox.js"
]
},
{
"matches": [
"*://*.amazon.com.mx/*"
],
"js": [
"amazon-detox.js"
]
}
]
}

View File

@ -0,0 +1,10 @@
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");
if(isInternational) {
item.style.display = "none";
}
}
}, 500);