Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

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

  • 8 antwurd
  • 1 hat dit probleem
  • 19 werjeftes
  • Lêste antwurd fan 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

Alle antwurden (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