Created
April 20, 2016 11:30
-
-
Save rolandas-valantinas/730b83f69f07c6cd8a50ee2ce21ca97e to your computer and use it in GitHub Desktop.
Remove 'collection only' listings from eBay search
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
javascript: (function() { | |
var shipSpan = document.getElementsByClassName("ship"); | |
for (var i = 0; i < shipSpan.length; i++) { | |
if (shipSpan[i].innerHTML.indexOf("Collection only: Free") != -1) { | |
shipSpan[i].parentNode.parentNode.parentNode.remove(); | |
} | |
} | |
})(); |
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
javascript:(function(){var shipSpan=document.getElementsByClassName("ship");for(var i=0;i<shipSpan.length;i++){if(shipSpan[i].innerHTML.indexOf("Collection only: Free")!=-1){shipSpan[i].parentNode.parentNode.parentNode.remove();}}})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment