Created
August 26, 2020 17:35
-
-
Save Said210/f9e9c3d8729d54b9c8bce1cb8de0b0d5 to your computer and use it in GitHub Desktop.
Filter amazon best prices [SELLER CENTRAL]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Use in https://sellercentral.amazon.com.mx/inventory/ref=xx_invmgr_dnav_xx?tbla_myitable=sort:%7B%22sortOrder%22%3A%22DESCENDING%22%2C%22sortedColumnId%22%3A%22date%22%7D;search:;pagination:1; | |
*/ | |
trs = document.getElementsByClassName("mt-row") | |
for (var i = 0; i < trs.length; i++) { | |
if (trs[i].innerHTML.indexOf("aui-check") == -1) { | |
trs[i].remove() | |
} | |
} |
Author
Said210
commented
Aug 26, 2020
- Scroll all the page and wait for assets to load.
- Open dev tools and run
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment