Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8176917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:22:19+00:00 2026-06-06T23:22:19+00:00

I would like to use Google Translate TTS engine from my JavaScript code. It

  • 0

I would like to use Google Translate TTS engine from my JavaScript code. It doesn’t offer a public API, so it’s difficult to use this very good service. I have written the following code, which runs perfectly in static html files in my desktop, but not in my web server.

var url = "http://translate.google.com/translate_tts?ie=UTF-8&q=" + encodeURIComponent(txt) + "&tl=es&total=1&idx=0prev=input";
var snd = new Audio(url);
snd.load();
snd.play();

I know the problem is that Google see the referral info and ignore me, because if I run Chrome with –no-referral argument, everything runs well and it sounds, even from my web server.

So my question is how to hide my referral info from JavaScript code, in order to avoid the need of running browsers with extra arguments. I need that Google doesn’t know who I am.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T23:22:21+00:00Added an answer on June 6, 2026 at 11:22 pm

    You can’t because of security reasons. There are TTS api’s available just not free… Plus Google added this filter because of the people who start using it as an API…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to use http://code.google.com/p/stateless in my code to separate the functionality from
We use google-api-java-client to lookup videos and we would like to know if it
I would like to use the Google AJAX Feed API to fetch multiple newsfeeds
I would like to use the Google maps API to generate a route between
I would like to use Google Secure Data Connector with an app engine app.
I would like to use Google Chrome instead of the WebKit Framework in one
I have a newsletter with 13k subscribers. I would like to use Google to
I really like the Google Charts gauge graph. I would like to use it
I would like to write a small Google Chrome extension in which I use
I'm creating a not-web application using C# and I would like to use Google

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.