본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Google Custom Search does not work with Firefox. All other browsers work.

  • 8 답장
  • 1 이 문제를 만남
  • 19 보기
  • 최종 답변자: SherryOB

more options

Google has suggested we contact Firefox support for this question. My site is jointmathematicsmeetings.com. When you search in the Google custom search box, no results show up from the site. This search works in Chrome, Safari and IE. There is something about Firefox that prevents the search from working. Here is the script for the search: <script>

 (function() {
   var cx = '006070101833274801941:25ou21ndpva';
   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>

and here is the script for the results page:

<script>

 (function() {
   var cx = '006070101833274801941:25ou21ndpva';
   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:searchresults-only></gcse:searchresults-only>

Firefox is our primary browser which is why it is so important that this Google custom search work in Firefox.

Thanks for your help,

Sherry O'Brien American Mathematical Society

Google has suggested we contact Firefox support for this question. My site is jointmathematicsmeetings.com. When you search in the Google custom search box, no results show up from the site. This search works in Chrome, Safari and IE. There is something about Firefox that prevents the search from working. Here is the script for the search: <script> (function() { var cx = '006070101833274801941:25ou21ndpva'; 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> and here is the script for the results page: <script> (function() { var cx = '006070101833274801941:25ou21ndpva'; 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:searchresults-only></gcse:searchresults-only> Firefox is our primary browser which is why it is so important that this Google custom search work in Firefox. Thanks for your help, Sherry O'Brien American Mathematical Society

모든 댓글 (8)

more options

Firefox can't find the server at www.jointmathematicsmeetings.com

Is this your site? http://jointmathematicsmeetings.org/jmm

more options

If the problem is on the site that Fred found, the Web Console shows this error:

TypeError: google.search.Search.apiary5811 is not a function File: https://www.googleapis.com/customsearch/v1element

Note: the function name (such as it is) keeps changing.

I don't know why it's not working. About one out of five times if I Shift+click the reload button on the address bar, the results will appear normally. But it's not consistent enough for me to say it's a caching problem.

more options

FredMcD said

Firefox can't find the server at www.jointmathematicsmeetings.com Is this your site? http://jointmathematicsmeetings.org/jmm

Yes, sorry. I forgot the name of my own site for a moment. Thanks for your help, Sherry O'Brien

more options

Hi Sherry, I saw your thread on Google's forum. They're so helpful.

Do you know whether this problem started in Firefox 48, or are you experiencing it in Firefox 47 as well? There was a plumbing-level change in JavaScript in Firefox 48 that affects some scripts (e.g., Microsoft Dynamics CRM 2011 Lookup Error in Firefox Version 48.0.2), so I wonder whether that might be related.

more options

If it helps I note threads in two Google fora one is from March 2016

more options

This link sent me back to one of my own posts earlier this year. It probably wasn't clear what the name was on the post. Anyway, his solution didn't work.

Thanks,

Sherry O'Brien

more options

This link sent me back to one of my own posts earlier this year. It probably wasn't clear what the name was on the post. Anyway, his solution didn't work.

Thanks,

Sherry O'Brienjscher2000 said

Hi Sherry, I saw your thread on Google's forum. They're so helpful. Do you know whether this problem started in Firefox 48, or are you experiencing it in Firefox 47 as well? There was a plumbing-level change in JavaScript in Firefox 48 that affects some scripts (e.g., Microsoft Dynamics CRM 2011 Lookup Error in Firefox Version 48.0.2), so I wonder whether that might be related.
more options

Hi,

I'm using Google 47.01 so I guess the change with 48 doesn't apply here.

Thanks for your help,

Sherry O'Brien AMS