Hacker News new | ask | show | jobs
by hueyp 4362 days ago
I generally append 'mdn' to any search that would normally result in w3schools.
4 comments

You can also use mdn.io/whatever as a sort of "I'm feeling lucky"

http://blog.lazd.net/mdn-io-passive-url-shortening-for-mdn.h...

I have mdn bookmarked. I go there and search directly to eliminate any "oops I clicked on W3schools" moments.

If there was a browser addon that would allow me to search from my address bar (like ! for DDG), it'd be great.

You can easily do it without a browser add-on. They're called keyword bookmarks.

For firefox or chrome, right-click the search bar on any site and select "Add a Keyword for this Search" ("Add as search engine" for chrome).

Chrome and Firefox have the ability to add in custom searches. After getting it setup I think all you'd need to do is type `mdn [terms]`.
Lately I've been using http://devdocs.io/ as my one-stop reference. It seems to pull its information from MDN, among other places.
I use DuckDuckGo and use the !mdn bang syntax to run the search on MDN.