Limit Google Search To A Domain; Code

You can limit a Google search to a specific domain using the following code. Change the value of the hidden input to the site of your choice.

<form action="">
        <input name="sitesearch" type="hidden" value="" />
        <input name="q" type="text" value="" />
        <input type="submit" value="Search" />
Form is implied GET without method="get". The <input name="sitesearch" type="hidden" value="" /> targets only the specified domain.
Did this help you? Please let me know with a comment. Thank you
Posted .

Comments (RSS)

Leave a comment