jquery-gcse

A lightweight wrapper around Google's Custom Search Engine.


Keywords
jquery, google, cse, search
License
GPL-3.0
Install
bower install jquery-gcse

Documentation

jQuery Google Custom Search Engine

A lightweight wrapper around Google's Custom Search Engine featuring a Bootstrap theme.

Build Status Dependency Status

Usage

jQuery Google CSE needs to be activated via JavaScript.

$('#search_results').gcse({cseKey: 'YOUR_CSE_KEY'});

Options

Name Type Default Description
cseKey (required) string Your Google Custom Search Key
adsenseId string Your AdSense Publisher ID (for making cash with ads)
site string Search only URLs on this site (e.g. example.com/blog)
param string q URL param holding search query
autoComplete string true Enable auto-complete in the searchbox
resultsOnly string false Hide the search box
safe string false Enable safe-search - can be 'moderate', 'strict' or false
language string en Specify a language for your search engine

Copyright

© 2015-2016 Adam Bouqdib - http://abemedia.co.uk