Free Site Search Box

Title: Discover SnipeSearch.co.uk’s Free Site Search Box: Empower Your Users with Enhanced Searching

Introduction

SnipeSearch.co.uk is excited to offer you a powerful and versatile free site search box that brings a new dimension of convenience and functionality to your website. Our site search boxes provide your users with the ability to explore information, music, torrents, and social media posts, all within the confines of your website. Whether you’re looking to improve user experience or create your very own gateway search engine, SnipeSearch.co.uk has got you covered.

Unleash the Potential: Site Search and Net Search

Our free site search box allows you to offer two distinct yet complementary searching experiences to your website visitors. Users can seamlessly navigate between a site-specific search and a broader search across the vast expanse of the internet. With a straightforward interface, your users can effortlessly switch between these modes, expanding their search horizons or focusing on specific content with ease.

Enhance User Experience: Integrated Site Search

Integrating SnipeSearch.co.uk’s site search box into your website enables your users to find precisely what they are looking for within the confines of your site. Whether it’s articles, products, or services, they can quickly access relevant information without having to leave your website. This streamlined approach not only keeps your users engaged but also encourages them to explore more of your site’s offerings.

Create Gateway Search Pages: Unleash Your Creativity

SnipeSearch.co.uk’s site search box empowers you to go beyond the conventional search functionalities. You can craft your gateway search pages that leverage our robust search resources while maintaining your brand identity. Imagine creating a tailored search experience for your audience, where the results are finely curated and relevant. And the best part? These search pages become a gateway to exploring your website’s unique content while generating revenue through unobtrusive banners and promotions.

A Hub of Versatility: Searching Music, Torrents, and Social Media

With SnipeSearch.co.uk, your users can explore more than just textual content. Our site search box opens up a world of possibilities, allowing users to delve into music, torrents, and social media posts right from your website. Let your users discover the latest tunes, access torrent files, and stay updated with social media trends, all from a single search interface that you provide.

Simple Integration: Making it Your Own

Integrating our free site search box into your website is a breeze. We provide you with easy-to-implement code snippets that seamlessly blend into your existing design. With minimal setup, you can harness the full potential of SnipeSearch.co.uk’s search capabilities to enrich your website’s user experience.

The Code for A Simple Single line Search Box

 <form id="searchForm" method="get" action="" target="_blank">
        <input type="text" id="searchKeywords" placeholder="Enter your search terms">
        <input type="radio" name="engine" value="1" checked> This Site
        <input type="radio" name="engine" value="0"> Web
        <input type="radio" name="engine" value="2"> MovieDB
        <input type="radio" name="engine" value="3"> Music
        <input type="radio" name="engine" value="5"> Torrents
        <input type="radio" name="engine" value="4"> Social
        <input type="submit" value="Search">
    </form>

    <script>
        // Replace 'domain.co.uk' with the referring domain or subdomain
        const referringDomain = window.location.hostname;
        const searchForm = document.getElementById('searchForm');
        const searchKeywords = document.getElementById('searchKeywords');

        searchForm.addEventListener('submit', function(event) {
            event.preventDefault();
            let searchEngineURL;
            let searchURL;

            switch (document.querySelector('input[name="engine"]:checked').value) {
                case '0': // Web
                    searchEngineURL = '//ww3.snipesearch.co.uk/';
                    searchURL = `${searchEngineURL}search?q=${searchKeywords.value}`;
                    break;
                case '2': // MovieDB
                    searchEngineURL = '//movies.snipesearch.co.uk/';
                    searchURL = `${searchEngineURL}search?query=${encodeURIComponent(searchKeywords.value)}`;
                    break;
                case '3': // Music
                    searchEngineURL = '//music.snipesearch.co.uk/';
                    searchURL = `${searchEngineURL}search/${encodeURIComponent(searchKeywords.value)}`;
                    break;
                case '5': // Torrents
                    searchEngineURL = '//ww3.snipesearch.co.uk/';
                    searchURL = `${searchEngineURL}search?q=${searchKeywords.value}&engine=5`;
                    break;
                case '4': // Social
                    searchEngineURL = '//www.snipesocial.co.uk/';
                    searchURL = `${searchEngineURL}search/${encodeURIComponent(searchKeywords.value)}`;
                    break;
                case '1': // This Site
                default:
                    searchEngineURL = '//ww3.snipesearch.co.uk/';
                    const siteSearchURL = `site%3A${referringDomain}`;
                    searchURL = `${searchEngineURL}search?q=${siteSearchURL}+${encodeURIComponent(searchKeywords.value)}&engine=1`;
            }

            window.open(searchURL, '_blank');
        });
    </script>

To have the search in a column.

First add the following code to your sites CSS

 <style>
        #searchForm {
            width: 250px;
            margin: 0 auto;
            text-align: center;
            border: 2px solid #ccc;
            padding: 10px;
        }
        #searchKeywords {
            width: 248px;
        }
        #searchForm input[type="radio"] {
            margin: 3px 5px auto;
        }
    </style>

And then Add the following HTML where you want the Box to Appear

 <div id="searchForm">
        <form method="get" action="" target="_blank">
            <label for="searchKeywords">Search:</label>
            <input type="text" id="searchKeywords" placeholder="Enter your search terms">
            <input type="radio" name="engine" value="1" checked> This Site
            <input type="radio" name="engine" value="0"> Web
            <input type="radio" name="engine" value="2"> MovieDB
            <input type="radio" name="engine" value="3"> Music
            <input type="radio" name="engine" value="5"> Torrents
            <input type="radio" name="engine" value="4"> Social
            <input type="submit" value="Search">
        </form>
    </div>

    <script>
        // Replace 'domain.co.uk' with the referring domain or subdomain
        const referringDomain = window.location.hostname;
        const searchForm = document.getElementById('searchForm');
        const searchKeywords = document.getElementById('searchKeywords');

        searchForm.addEventListener('submit', function(event) {
            event.preventDefault();
            let searchEngineURL;
            let searchURL;

            switch (document.querySelector('input[name="engine"]:checked').value) {
                case '0': // Web
                    searchEngineURL = '//ww3.snipesearch.co.uk/';
                    searchURL = `${searchEngineURL}search?q=${searchKeywords.value}`;
                    break;
                case '2': // MovieDB
                    searchEngineURL = '//movies.snipesearch.co.uk/';
                    searchURL = `${searchEngineURL}search?query=${encodeURIComponent(searchKeywords.value)}`;
                    break;
                case '3': // Music
                    searchEngineURL = '//music.snipesearch.co.uk/';
                    searchURL = `${searchEngineURL}search/${encodeURIComponent(searchKeywords.value)}`;
                    break;
                case '5': // Torrents
                    searchEngineURL = '//ww3.snipesearch.co.uk/';
                    searchURL = `${searchEngineURL}search?q=${searchKeywords.value}&engine=5`;
                    break;
                case '4': // Social
                    searchEngineURL = '//www.snipesocial.co.uk/';
                    searchURL = `${searchEngineURL}search/${encodeURIComponent(searchKeywords.value)}`;
                    break;
                case '1': // This Site
                default:
                    searchEngineURL = '//ww3.snipesearch.co.uk/';
                    const siteSearchURL = `site%3A${referringDomain}`;
                    searchURL = `${searchEngineURL}search?q=${siteSearchURL}+${encodeURIComponent(searchKeywords.value)}&engine=1`;
            }

            window.open(searchURL, '_blank');
        });
    </script>

Your Own Search Engine Gateway

Download the following html file and place it at the root of the server to create your own search engine. Replace the text with any text you want or create your own search engine logo. Replace the ad code with your own, from adclick.snipesearch.co.uk, or any third party provider and make sure you do all the HTML MEta Tags, this HTML is a frame work customise it, add menus, link it to your other projects, you might be using our search But you can maximize your earnings. With a sleek interface and great links.