Is there is a way that we can google search from a search box for a specific domain
<form action="https://google.com/search" target="_blank" type="GET"> <input type="search" name="q"> <input type="submit" value="Search In Site"> </form>
yes there is a way you can create a form for google search and with a specific domain If you have this snippet
simply by javascript you can do
var form = document.querySelector("form"); form.addEventListener("submit", function (e) { e.preventDefault(); var search = form.querySelector("input[type=search]"); search.value = "site:geekstrick.com " + search.value; form.submit(); });