Compare commits
2 Commits
788e7ac80e
...
aecde226ed
Author | SHA1 | Date |
---|---|---|
kirbylife | aecde226ed | |
kirbylife | c1335ba0ad |
|
@ -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);
|
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 19 KiB |
|
@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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);
|