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="https://www.google.com/search">
<div>
<input name="sitesearch" type="hidden" value="darklaunch.com" />
<input name="q" type="text" value="" />
<input type="submit" value="Search" />
</div>
</form>
Form is implied GET without method="get".
The <input name="sitesearch" type="hidden" value="darklaunch.com" /> targets only the specified domain.
Comments
Leave a Reply