Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

Embedded Google search on our website is not showing results. Windows 8, 64 bit, Firefox 30

  • 2 одговорa
  • 1 има овај проблем
  • 3 прегледа
  • Последњи одговор послао cmosqueda

more options

We have Google Search embedded in our website. It was brought to my attention by one of our employees that Firefox is not showing the results of the search after the search button is clicked. The issue seems to be only confined to Firefox. Tested the issue on Internet Explorer 10 and Google Chrome and both are working as expected, showing the results on our results page.

I am using Windows 8, 64 bit, Firefox 30. The user having the issue is on Windows 7, 64 bit.

I used the Web console and there were an error message of 'TypeError: google.search.Search.apiary5337 is not a function'.

I am not sure this is the root of the issue or not, but why would this work in Chrome and Internet Explorer and not in Firefox?

If you need to check it, out website is http://www.dmns.org/ . The search box it on the top right of the page. You will see that the page redirects to our '/results?q=searchterm'. We are a science institution so if you type "science" in the search box, you will get redirected to the '/results' page with the query string of 'science' for the search term. But in my case the search results below are blank. If you do the same search if Chrome or IE the results show fine.

Oh, I do not have any add on installed on Firefox.

Any suggestions or a fix would be great.

Thank you.

Carlos Mosqueda

We have Google Search embedded in our website. It was brought to my attention by one of our employees that Firefox is not showing the results of the search after the search button is clicked. The issue seems to be only confined to Firefox. Tested the issue on Internet Explorer 10 and Google Chrome and both are working as expected, showing the results on our results page. I am using Windows 8, 64 bit, Firefox 30. The user having the issue is on Windows 7, 64 bit. I used the Web console and there were an error message of 'TypeError: google.search.Search.apiary5337 is not a function'. I am not sure this is the root of the issue or not, but why would this work in Chrome and Internet Explorer and not in Firefox? If you need to check it, out website is http://www.dmns.org/ . The search box it on the top right of the page. You will see that the page redirects to our '/results?q=searchterm'. We are a science institution so if you type "science" in the search box, you will get redirected to the '/results' page with the query string of 'science' for the search term. But in my case the search results below are blank. If you do the same search if Chrome or IE the results show fine. Oh, I do not have any add on installed on Firefox. Any suggestions or a fix would be great. Thank you. Carlos Mosqueda

Измењено од стране cmosqueda

Изабрано решење

Problem SOLVED. This is probably still a bug in Firefox. Our Google Search <script> that call the Javascript service from Google was within the Body tag. I moved the Script tag to the head and now it seems to work as expected. In the new Firefox, are <script> tags not allowed within the Body element?

Прочитајте овај одговор са објашњењем 👍 0

Сви одговори (2)

more options

Oh, I do not have any add on installed on Firefox.

Измењено од стране cmosqueda

more options

Одабрано решење

Problem SOLVED. This is probably still a bug in Firefox. Our Google Search <script> that call the Javascript service from Google was within the Body tag. I moved the Script tag to the head and now it seems to work as expected. In the new Firefox, are <script> tags not allowed within the Body element?