javascript - I would like to not expose some of details in plain HTML code -


In my application, I want to assign some PHP values ​​to the JavaScript variable. So I used to follow the code

  "; & Lt; / Script & gt;   

But the problem is that I want to hide the details from the HTML source view. The description will now appear in the HTML view source such as

  var my_js_var = "this is my php value";   

How can I hide such details from the HTML source?

You need to have hash / encrypt for use in the customer and the server is processed upon request Verify hash at size.

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -