Created
May 6, 2017 17:40
-
-
Save ostearn/a17e72a959dd1e9e5f0870b396216602 to your computer and use it in GitHub Desktop.
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
(function() { | |
var data = String(window.location); | |
var isebay = data.indexOf("ebay"); | |
var isquery = data.indexOf("?"); | |
var ipg = data.indexOf("&_ipg=200"); | |
if(isebay != -1 & isquery != -1 & ipg != -1){ | |
$('.prRange').parents('.lvresult').hide(); | |
console.log('All those annoying variable listings have been removed.'); | |
} else if(isebay != -1 & isquery != -1 & ipg == -1){ | |
window.href= data +"&_ipg=200"; | |
$('.prRange').parents('.lvresult').hide(); | |
console.log('All those annoying variable listings have been removed.'); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment