I am using jquery translate which uses Google translate to provide the service. I am actually paying for the translation service. However, some websites just grabbed my API key (including code) and used it. In the end, I have to pay for them. Thus, I am wondering if there is a way to hide the key.
code:
<script language="javascript">
$.translate.load("API key");
$(document).ready(function(){
$("#submit").click(function() {
$.translate('text', 'en','es', {
complete: function(translation){
}
});
})
Per Google’s API Guide:
Go to the API Console and modify accordingly.