Back to front pageView on Hacker News (opens in a new tab)Show HN: A new search engine UX I've been working on in my free time (opens in a new tab)swurl.com572 pointsby ryes (on Hacker News)4 years agoComments (334) 97 threadsShow all commentsShowing thread 43 of 97[-]RamblingCTO4 years ago1 reply#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 jQuery 6But no blocked requests.[-]ryes4 years ago1 reply#Hrmm, sorry about that. Please try again now. I added some more checking code. https://swurl.com/?q=google+translateIf it still isn't working, could you let me know the exact URL you are looking at? And browser you are using?RamblingCTO4 years ago#Hah, 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/ are blocked.", "errors": [ { "message": "Requests from referer 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" } } ] } } );
Show HN: A new search engine UX I've been working on in my free time (opens in a new tab)swurl.com572 pointsby ryes (on Hacker News)4 years ago
RamblingCTO4 years ago1 reply#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 jQuery 6But no blocked requests.
ryes4 years ago1 reply#Hrmm, sorry about that. Please try again now. I added some more checking code. https://swurl.com/?q=google+translateIf it still isn't working, could you let me know the exact URL you are looking at? And browser you are using?
RamblingCTO4 years ago#Hah, 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/ are blocked.", "errors": [ { "message": "Requests from referer 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" } } ] } } );
Comments (334) 97 threads
Show all comments
Showing thread 43 of 97
Uncaught TypeError: data.queries is undefined web https://swurl.com/?q=google+translate:1179 jQuery 6
But no blocked requests.
If it still isn't working, could you let me know the exact URL you are looking at? And browser you are using?
// API callback webgoogle({ "error": { "code": 403, "message": "Requests from referer https://www.googleapis.com/ are blocked.", "errors": [ { "message": "Requests from referer 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" } } ] } } );