Blog | ProbableTrain

How to Obliterate W3Schools From Your Google Search Results

Here's how to hide W3Schools results from Google Search results. Too often I search for an answer to a JS/CSS question, click on the first thing I see, and recoil in horror as the familiar pallid green lurches onto screen. Instead of engaging my brain to filter W3Schools URLs, I found a way to do it automatically in Chrome and Firefox.

How

  1. Install uBlacklist
  2. Block W3Schools
  3. Profit

The uBlacklist extension blocks specific sites from appearing in Google search results. After installing it (in Chrome or Firefox), open the extension options page by opening the extensions menu -> three dots -> options. Add *://www.w3schools.com/* to the blocked sites list, and you're done! Say goodbye to W3Schools.


Alternatively, next time you see a W3Schools result, click on the new 'Block this site' text that appears next to the result.

Bonus: StackOverflow/Github Clones

You may have come across sites that look suspiciously like Github issues or StackOverflow questions. I personally prefer going straight to the source, rather than reading these clones. Thankfully, these can be removed from search results en masse with uBlacklist too. The first repo explains the process of adding these to uBlacklist:

VS uBlock Origin

uBlock Origin is a Chrome extension with a larger feature set that could also be used for this task. I tried it and found the default behaviour of uBlock Origin too annoying for every day use, but it may work for you.

Why?

I assume that if you're reading this, you've probably already been irked enough by W3Schools such that this section is rendered pointless. Nevertheless, I personally find the MDN docs better than W3Schools in almost every way. That's not to say that this is the case for everyone though, and I've heard that W3Schools has been getting better and better.