• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 407
  • Last Modified:

How to Hide Javascript code ?

How to hide a javascript code in an html page from a surfer view.
what doesn't it take.

thank you
0
fana
Asked:
fana
1 Solution
 
haystorCommented:
You can't completely hide it from a deteremined surfer, because it needs to be downloaded to the client in order to run.  You can put all your functions into one frame, and make that frame 0 width. Thereby making it more difficult to find.
0
 
fanaAuthor Commented:
Can you please be more specific. How about calling a function <javascript ="whatever.js"> and put the file somewhere on the server. How would that work ?

Thank you
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now