Google Penelusuran Ubahsuaian - Penelusuran situs dan lain-lain
lalu anda bisa buat mesin pencari yang sesuai dengan selera anda.
dibawah ini contoh kode mesin pencari anyail untuk semua situs anyail:
<div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.co.id/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'id'});
google.setOnLoadCallback(function() {
var customSearchOptions = {};
var imageSearchOptions = {};
imageSearchOptions['layout'] = google.search.ImageSearch.LAYOUT_POPUP;
customSearchOptions['enableImageSearch'] = true;
customSearchOptions['imageSearchOptions'] = imageSearchOptions; var customSearchControl = new google.search.CustomSearchControl(
'003292550464165005392:fkuerxmntxg', customSearchOptions);
customSearchControl.setResultSetSize(google.search.Search.LARGE_RESULTSET);
customSearchControl.draw('cse');
}, true);
</script>
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
sangat umum:
<div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.co.id/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'id'});
google.setOnLoadCallback(function() {
var customSearchOptions = {};
var imageSearchOptions = {};
imageSearchOptions['layout'] = google.search.ImageSearch.LAYOUT_POPUP;
customSearchOptions['enableImageSearch'] = true;
customSearchOptions['imageSearchOptions'] = imageSearchOptions; var customSearchControl = new google.search.CustomSearchControl(
'003292550464165005392:fkuerxmntxg', customSearchOptions);
customSearchControl.setResultSetSize(google.search.Search.LARGE_RESULTSET);
customSearchControl.draw('cse');
}, true);
</script>
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
konten islami saja:
<div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.co.id/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'id'});
google.setOnLoadCallback(function() {
var customSearchOptions = {}; var customSearchControl = new google.search.CustomSearchControl(
'003292550464165005392:fkuerxmntxg', customSearchOptions);
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
customSearchControl.draw('cse');
}, true);
</script>
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
dengan no unik: 003292550464165005392:fkuerxmntxg
semoga ini bermanfaat amin.