Lean Domain Search Fix

Years ago I discovered Lean Domain Search (https://leandomainsearch.com/) on Hacker News and it changed how I searched for .com domains. After relying on it for finding bespoke domains for years, I was shocked when the Length feature was broken after Lean Domain Search got bought out and started heavily shilling for the .blog TLD.

My previous workflow was vising https://leandomainsearch.com/ and type in some term, then clicking Sort Results, clicking Length, and then reading over the results. Sadly all of the results at the top are .blog as obviously there are more of those available than .com’s.

Not one to tolerate the selling out and obsolete of a formerly good tool I wrote this snippet that can be pasted into the browsers console to remove all of the .blog results. Returning Lean Domain Search to its former glory. Since I wrote this code a few months ago I would be making up how it works just like a hallucinating LLM, j/k if the first child of each of the results is not available then remove the entire result. We don’t care if the .com is not available.

The results are not as useful, but it is better to know that fast rather than browsing .blog TLD’s. No future plans for this one, just hope to find this snippet in the future and if it can make one persons like easier than I would call that a win!


allButtons = [...document.getElementsByTagName('button')];
allButtons.forEach((child) => { if (child.disabled) {child.parentNode.parentNode.remove()} });

Leave a Reply

Your email address will not be published. Required fields are marked *