【问题标题】:is posible to add (Searches related) on Google Custom Search CSE?是否可以在 Google 自定义搜索 CSE 上添加(搜索相关)?
【发布时间】:2018-12-14 06:22:37
【问题描述】:

这是我的代码,我应该在此处添加什么来显示(搜索相关)?

<script>
  (function() {
    var cx = '0045334152284----:94o-----uqo';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:searchbox-only></gcse:searchbox-only>

例如:

【问题讨论】:

    标签: javascript jquery search search-engine google-custom-search


    【解决方案1】:

    不怕。 Google Web Search 的相关搜索功能在自定义搜索引擎中不可用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-19
      • 2019-07-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多