Is it possible to make the HTML source not viewable?
Updated: 01/24/2018 by Computer Hope
In short, there is no real method or script for making standard HTML (HyperText Markup Language) source code not viewable. You may consider doing any of the below if they are concerned about your source code.
- Create the web page in Flash or a similar program. The visitor would need to download the Macromedia Flash plug-in and would be unable to view the source code for the flash applet.
- There are various scripts that disable the right-click feature, preventing the user from saving images or viewing the source code. However, this will not protect the source code of your page. For example, Internet Explorer users may still click "View" and "Source" to view the source code of the page, or a user could disable scripts. Additionally, images can be stored by saving the web page to a hard drive.
- There are programs to scramble your code, making it difficult (not impossible) to read. Again, this doesn't prevent someone from viewing your code.