How to hide HTML code from user?

Ads
 

How to hide HTML code from user?

View Answers

July 30, 2009 at 10:12 PM

the way gmail and other similar sites render content without showing source code is by generating the elements on the page using javascript. Unfortunately, javascript blockers are becoming more common so you would reach a smaller audience. Despite that, you could have a page that generates html elements through the use of DOM loading the data from another javascript file, or dynamically from the server using ajax. There is no way to eliminate reconstruction of your site, as whether with html or javascript, you are providing instructions for the browser to build the page, and with those instructions, people could reconstruct your page as well from the code. Look up javascript obfuscation.

Ads









Related Tutorials/Questions & Answers:
How to hide HTML code from user? - Security
how do i allow users to download a xls file in html?
Advertisements
how to space images in html code
How to redirect from a HTML page?
Hide show HTML forms using javascript
how to send html email from dreamweaver
how to fetch values from .properties to a html file
HTML code
how to hide and unhide folders in java
How do i get the number of online users from a site using jsp?
How to export data from html to excel sheet by using java
How to export data from html file to excel sheet by using java
How to export data from html file to excel sheet by using java
Hi how to transfer table data from html page to excel sheet by using javascript .
How to retrieve array values from html form to jsp?
How to populate an HTML table using jstl code - Spring
How to pass parametes from JSP page to HTML page? - JSP-Servlet
how to insert, retrieve data from,to db(code)....
i want to know how a slide will hide
i want to know how a slide will hide
how to insert, retrieve data from,to db(code)....
How to play FLV video files on Ipad using HTML code or javascript code?
how to call servlet from html page at anchor tag ?
JSP hide and show tables
How to Hide Button using Java Swing
retriving data from sql server using jsp code and placing them in text fields of html code
How to send the data selected from drop down menu from html page to sql 2005 database.
HTML login page code
How to view a list of MySQL users and their privileges?
how to pass form values from javascript of html page to jsp page
how to create users in LDAP using java?

Ads