Last active
May 23, 2018 14:12
-
-
Save JoshMcCullough/bf7abd285007fe7a021e449dd11ed5e8 to your computer and use it in GitHub Desktop.
Redfin > Hide X-out'd Homes
This file contains hidden or 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: var xOutButtonWrappers = document.getElementsByClassName("XoutButtonWrapper"); for (var i = (xOutButtonWrappers.length - 1); i >= 0; i--) { var o = xOutButtonWrappers[i]; if (o.getAttribute("aria-label") == "Remove X-out") { var homeCardV2Element = o.parentElement.parentElement.parentElement; var addressElement = homeCardV2Element.getElementsByClassName("street-address")[0]; var rootContainer = homeCardV2Element.parentElement.parentElement; rootContainer.remove(); } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this entire script as a bookmark. Click the bookmark to hide x-out'd homes from the current view on Redfin!