3 ms·
Hm, I have no results, I can only see Google on the left side. The console says: Uncaught TypeError: data.queries is undefined web https://swurl.com/?q=goo
by RamblingCTO 4y ago
Hm, I have no results, I can only see Google on the left side. The console says:
Uncaught TypeError: data.queries is undefined
web https://swurl.com/?q=google+translate:1179 https://swurl.com/?q=google+translate:1179
jQuery 6
But no blocked requests.
- ryes 4y agoHrmm, sorry about that. Please try again now. I added some more checking code. https://swurl.com/?q=google+translate https://swurl.com/?q=google+translate If it still isn't working, could you let me know the exact URL you are looking at? And browser you are using?
- RamblingCTO 4y agoHah, got it. I use uMatrix, which spoofs the http referer header. Google apparently does not like that: // API callback webgoogle({ "error": { "code": 403, "message": "Requests from referer https://www.googleapis.com/ https://www.googleapis.com/ are blocked.", "errors": [ { "message": "Requests from referer https://www.googleapis.com/ https://www.googleapis.com/ are blocked.", "domain": "global", "reason": "forbidden" } ], "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "API_KEY_HTTP_REFERRER_BLOCKED", "domain": "googleapis.com", "metadata": { "service": "customsearch.googleapis.com", "consumer": "projects/blabla" } } ] } } );