為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Google Custom Search opens blank page

more options

I have a Wordpress site. I installed Google Custom Search on my website.

In all browsers except Firefox it opens a blank page.

How can i fix this?

I have a Wordpress site. I installed Google Custom Search on my website. In all browsers except Firefox it opens a blank page. How can i fix this?

所有回覆 (6)

more options

Wordpress support is here: http://en.forums.wordpress.com/

more options

The issue is that the google custom search opens a blank page in Firefox but no other browser.

I am looking for help to get my preferred browser - firefox - to show results from the google custom search button on my website.

more options

Are there any (security) errors in the Web Console (Firefox/Tools > Web Developer)?

more options

This is the error message:

TypeError: google.search.Search.apiary7059 is not a function v1element:2 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. notes-widget.min.js:2 Use of getPreventDefault() is deprecated. Use defaultPrevented instead.

Is that what you wanted?

more options

The first error would indicate a problem with one of the Google scripts.

  • http://monarchhousing.org/gcs-results/?q=homeless%20myths

It looks that this callback isn't working with Firefox (the apiary862 part can vary):

  • https://www.googleapis.com/customsearch/v1element?key=AIzaSyCVAXiUzRYsML1Pv6RwSG1gunmMikTzQqY&rsz=filtered_cse&num=10&hl=en&prettyPrint=false&source=gcsc&gss=.com&sig=9e22f16779b322c4438bf7968124f7f9&cx=004659255641490361228:mv_18qspja4&q=homeless%20myths&sort=&googlehost=www.google.com&callback=google.search.Search.apiary862

I don't know that much about JavaScript to know how to troubleshoot this and this happens in all Firefox versions that I tried, so it could be a compatibility issue in Firefox with this Google script.

more options

Is there anyone else or any other option?

I do not want to have to stop using Firefox and tell our readers not to use the best possible browser!