Google Custom Search does not work with Firefox. All other browsers work.
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)
Firefox can't find the server at www.jointmathematicsmeetings.com
Is this your site? http://jointmathematicsmeetings.org/jmm
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.
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
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.
If it helps I note threads in two Google fora one is from March 2016
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
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.
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