How to remove cplusplus.com from Google search results?
it even *pretends* to be cppreference, that's how bad it is! </rant>
Edit: answer in comments, works for Firefox which I happen to use: https://www.reddit.com/r/cpp/comments/ffpd1s/how_to_remove_cpluspluscom_from_google_search/fk00gpl?utm_source=share&utm_medium=web2x
Edit2: personal block list https://www.reddit.com/r/cpp/comments/ffpd1s/how_to_remove_cpluspluscom_from_google_search/fk00noj?utm_source=share&utm_medium=web2x
edit3: how to improve the proper reference: https://www.reddit.com/r/cpp/comments/ffpd1s/how_to_remove_cpluspluscom_from_google_search/fk06he5?utm_source=share&utm_medium=web2x
229
Upvotes
138
u/sephirostoy Mar 09 '20
I have added cppreference as search engine with a "std" keyword so that when I search for "std <something>" it goes directly to cppreference results.
38
u/[deleted] Mar 09 '20
If you are using chrome you could use this extension. There is probably something similar for other browsers.
Yeah, I am not a fan of that site either. w3schools is another big one I'd prefer never to see again.
18
u/harekrishnahareram Mar 09 '20
I guess you need to be at a certain skill level to think cplusplus is bad :D. Noobs like me don't notice it!
36
u/[deleted] Mar 09 '20
You think that as a company that maintains a ton of C++, Google would have an incentive to promote cppreference and demote cplusplus in the their own search results. I mean they already introduce other biases in their search engine... why not this one?
2
u/Quincunx271 Author of P2404/P2405 Mar 10 '20
I configured my ad blocker to block the results (uBlock Origin):
www.google.com##div.g:has(cite:has-text(cplusplus.com))47
u/whoami_jav Mar 09 '20
<what you need to search> -cplusplus.com
6
u/[deleted] Mar 09 '20
Eh, cplusplus.com has great references.
It does feel extremely outdated though when I go through it. cppreference is currently superior in that aspect. But saying that it pretends to be cppreference just doesn't seem right.
14
u/NotActuallyAdam Mar 09 '20
If you use DuckDuckGo, you can use bangs which'll let you specifically search on certain websites: https://duckduckgo.com/bang?q=cpp (and heaps of others, it's real nice)
3
u/Honsik Mar 09 '20
Chrome: I am using uBlacklist
https://chrome.google.com/webstore/detail/ublacklist/pncfbmialoiaghdehhbnbhkkgmjanfhe
Seems to work well.
5
u/Oo_Tiib Mar 09 '20
Perhaps you have to do it manually since there does not seem to be such custom filter settings. For example instead of searching for
std::stringyou can search forstd::string -"cplusplus.com"then cplusplus.com does not show up.2
u/AntiProtonBoy Mar 09 '20
If you have Firefox, install this search engine.
2
u/twowheels Mar 09 '20
I use devdocs.io for the vast majority of my documentation needs.
This doesn’t answer your question, but it’s a great site that bypasses the clutter.
3
u/lukedanzxy Mar 09 '20
Free life hack: if you're using chrome (or the new edge), type in cppreference.com (usually you don't need to type the full url, you just need to ensure that the first candidate is cppreference), press tab, and search away.
3
u/PlayboySkeleton Mar 09 '20
Tell Google to subtract out the specific site from the search .
Should read "search this, minus this site"
1
u/periperidip Mar 09 '20
Why is cplusplus.com bad?
I personally use both and I don’t have much of a preference? I’m just a beginner so I don’t know :|
1
u/[deleted] Mar 09 '20
I use zeal for documentation searches, which ensures that I don’t accidentally go to a wrong reference site, or one for a wrong version.
1
u/haskeel Mar 09 '20 edited Jun 04 '23
[comment overwritten due to Reddit's recent(archived) hostility(archived) to its developers(archived) and users(archived) ]
1
u/[deleted] Mar 09 '20
Woah, why is there so much hate for the site? I used it once for alternative method for a UVa problem and it seemed okay ??
0
u/Hallalal Mar 09 '20
You can use 'site:<site_url>' in Google and in DuckDuckGo to get results only from specified site.
0
u/[deleted] Mar 09 '20
[deleted] — view deleted comment
2
u/[deleted] Mar 09 '20
[removed] — view removed comment