Disclaimer: I have no relationship with any search engine. All that
is expressed below is based upon my own personal preferences and
interests related to online security.
Search engines would not be much fun if you could not add them to your website. In this post I will list some HTML5 forms by which you can add three privacy oriented search engines to your website. To be clear: If you adapt the examples below you can add pretty much anything.
The best way to make a custom search bar is to use an HTML5 form, which waits user input. Placeholder texts are also worth adding because they tell users what search engine is actually being used when fetching the information. You can also customize the height and size(width) values. Clarification. You use the actual search engines with the forms below. You will display every search result in the actual search engines as well.
Privatelee search:
<form method=”get” action=”https://privatelee.com/search/”>
<input type=”text” placeholder=” Search Internet with Privatelee” style=”height:50px;” name=”q” size=”41″ value=””>
</form>
Lukol search:
<form method=”get” action=”http://www.lukol.com/s.php?”>
<input type=”text” placeholder=”Search Internet with Lukol” style=”height:50px;” name=”q” size=”41″ value=””>
</form>
Oscobo search:
<form method=”get” action=”https://oscobo.co.uk/search.php?”>
<input type=”text” placeholder=”Search Internet with Oscobo” style=”height:50px;” name=”q” size=”41″ value=””>
</form>
Lukol and Oscobo are search engines I have discovered only recently. They seem to respect privacy and in addition: they load up really quickly. Go check them out if you are interested.
What about Iframes?
Iframes are bad for performance if done poorly. Avoid them unless there is a proven and official iframe that works.For example. DuckDuckGo has this page, which lets you create a search box placed within an iframe: https://duckduckgo.com/search_box
Do note that at least for now (due to a bug) DuckDuckGo might crash when being run with Celeron or a less powerful machine.