Created
May 3, 2018 13:51
-
-
Save thiagodebastos/aefa1fa3472a45ba153f30a32e6e748a to your computer and use it in GitHub Desktop.
In Domain Property search, remove listings where deposit has been taken
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 () { | |
document.querySelectorAll('.search-results__listing').forEach(el => { | |
const price = el.querySelector('.listing-result__price') && | |
el.querySelector('.listing-result__price').innerText.toLowerCase(); | |
price === 'deposit taken' && el.remove(); | |
}) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment