Googleのカスタム検索を利用する場合, 一般的には指定された<script>タグと<gcse:search>タグを記述する. <script> (function() { var cx = '検索エンジン ID '; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(g