Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A small feature in chrome you might like, there is a quick write up about it at the link listed below. Basically configure the URL search bar for MDN to be a searchable website. Change the keyword from the full Mozilla link into something simple like mdn. Then simply when searching in the url instead of going to google.ca just type 'mdn' and space then it will use the configuration of the search query to look inside the website so something like looking to see how Array.protoype.map() works just type mdn space before that and you'll go straight to the search results.

This isn't limited to just MDN you can use it for Youtube, and other sites that support the query search string.

If you are having trouble finding the settings in Chrome to get to then simply

hit the 3 dots on the top right > settings > then at the top bar search for 'search' > Under the Search heading there will be a button labeled 'Manage Search Engines' click it > and read the article to see how to set it up.

If you have visited MDN before it will show up in the lower section. All you need to do is change the middle text box to mdn and save. otherwise the last box will need to be https://developer.mozilla.org/en-US/search?q=%s&w=3&qs=plugi... the first box is just a label used to display the search name you can leave it at default.

happy searchin!

https://www.wired.com/2013/09/h2-chrome-omnibox/



Firefox has the same feature. To use it right click on any search box on any website you visit to assign it a keyword. This works great with vimperator, which has tab-completion for search keywords.


Or use DuckDuckGo as your search engine, and you get thousands of those quick searches for free.

You can use !g for google, !a for amazon, !mdn for MDN, !so for Stack Overflow, etc etc. If you want to search an even vaugely popular site, you can probably just type !domain and DDG will search it.

https://ddg.gg


I have found doing this unnecessary (for me) because just searching for "mdn whatever" in google gets me the MDN results I wanted as the top result with the rest of the page being populated by other related MDN results.

Not saying that people shouldn't do it. Just offering a possible simpler alternative to be tested as well


I had actually wanted to reply my original post to people discussing mdn not being the first result on a google search but I find my general work flow falls around ctrl+t (new tab) - I have a specialized extension for something on that page so it doesn't redirect me to google.ca. For a search I just type 'm' as I have it setup to be my main keyword and 'y' for youtube along with 'h' for hacker news search. And if I want to do a search from the same tab I do alt+l to get to url and I'm not losing any thought process or needing to filter through some other ad garbage coming from google when I'm in the flow, just get me to the meat and potatoes (of course YouTube and hackernews are not things I search for regularly during productive work flows ;) )




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact