What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

At least on Google Chrome on Windows 7, the StackExchange network-wide search ("Search the Stack") is currently broken.

In the browser console there is a JavaScript error:

Uncaught TypeError: undefined is not a function

It seems to be a problem related to calling a Google JavaScript API. Here's the relevant code as shown in the console:

StackExchange Search error

share|improve this question

closed as too localized by kiamlaluno, Toon Krijthe, hims056, Martijn Pieters, jonsca Dec 5 '12 at 12:02

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

4  
Can't repro. Did you clear your cache? –  Mat Nov 18 '12 at 10:22
1  
Can't repro either. I see an error "Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL google.com/cse? ..." but it still appears to work. –  Martin Smith Nov 18 '12 at 10:27
    
Maybe your browser/proxy/firewall block the request for the JS file holding the Google custom search code. –  Shadow Wizard Nov 18 '12 at 11:20
    
@Mat: I did try Control + F5. –  hippietrail Nov 18 '12 at 13:04
    
@ShaWizDowArd: Hmm possible. I get the same problem with Firefox and I am behind a captive portal, but I haven't noticed anything similar with any other sites yet. Oddly it does work fine in Opera, Safari and Internet Explorer 10! –  hippietrail Nov 18 '12 at 13:08
1  
Can you track the requests sent to the server in Firebug and see if any request is blocked or lost? Edit: oh.. extension of course! :/ –  Shadow Wizard Nov 18 '12 at 13:30

1 Answer 1

up vote 6 down vote accepted

After seeing that nobody else has this problem I went through my browser extensions one by one.

It turned out that the popular privacy extension Ghostery 4.0.0 was responsible!

I'm now looking for a solution ...

So Ghostery does in fact explicitly bock Google AJAX Search API.

I'm not exactly sure why but they have a page on it that doesn't seem to really give a reason. There's also a topic in Ghostery's forum which isn't very informative either:

Ghostery breaks Google custom searches

There are two ways to address this:

  1. Turn off the block on Google AJAX Search API for all sites:

    Ghostery Trackers Widgets

  2. Whitelist http://stackexchange.com/search for all trackers:

    Ghostery Whitelisted Sites

share|improve this answer
2  
Well, can't you whitelist Stack Exchange and Google domains? –  Shadow Wizard Nov 18 '12 at 13:34

Not the answer you're looking for? Browse other questions tagged .