9

Every time I Google for any CSS property, the first result is always on w3schools.com (a.k.a. the most useless, bogus and misleading site around).

Is there a way to add it to some sort of a black list, to get useful results first instead?

3
  • The bogus and misleading sites list is long and also includes cplusplus.com, geeksforgeeks.org and wccftech.com if you ask me.
    – Marc.2377
    Jul 17, 2019 at 20:18
  • @Marc.2377 i've usually found cplusplus.com somewhat useful, although it's a bit of a hit and miss; what do you suggest for C++ reference?
    – cnst
    Jul 17, 2019 at 20:47
  • I find that cppreference.com is to cplusplus.com as the mdn is to w3schools.com.
    – Marc.2377
    Jul 17, 2019 at 20:53

1 Answer 1

8

Search parameter

One can exclude a site from search results with -site:w3schools.com. Compare searches for inline block and inline block -site:w3schools.com, for example.

To avoid typing this search parameter repeatedly, one can take advantage of autocomplete: put the -site part first; then it'll come up again when you begin typing -s.

Client-side solution

Google offers a Chrome extension Personal blocklist precisely for this purpose. The drawback is that this solution only works in Chrome.

Custom search engine.

Google offers custom search engines which support site exclusion. A drawback is that one has to specify the site(s) to search, and . isn't allowed. A workaround is to add popular top level domains, and set the search to be internet-wide, with only a preference for the site matching these (as shown below).

Google provides a URL for this custom engine, which you can bookmark and use instead of google.com

cse

1
  • 2
    Personal Blocklist seems to be abandoned, but you can use another wonderful extension called Remove W3Schools instead.
    – Klesun
    Dec 3, 2018 at 17:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.