Making HTML source code not viewable

Asked By 20 points N/A Posted on -
qa-featured

How can I make the standard HTML source code not viewable to other people?

SHARE
Best Answer by Sharath Reddy
Answered By 0 points N/A #120351

Making HTML source code not viewable

qa-featured

Hi Colby,

This problem is just similar to the answer that I have posted:

Since there's no way to prevent users although there are many ways, scripts, codes to disable right clicks, Save pictures, Save As, disable printscreen, disable printing, disable File, Save As Menu.

Users browses to pages accessing the source code links you uploaded. The browser interprets it. If you really don't want people to see it, I suggest don't upload webpages to protect your source code.
Best Answer
Best Answer
Answered By 590495 points N/A #120352

Making HTML source code not viewable

qa-featured

I think there is no solution to your problem since all web browsers that you can install on your computer has the option of viewing the web page’s source code. To view the source code of the web page from any web browser, you just need to press CTRL + U from your keyboard.

This will open a new tab on your web browser displaying the page’s full source code.

This only displays all the texts or information written on the HTML page including the HTML tags, JavaScript codes, text formatting, CSS scripts, and others but generally doesn’t include in the contents the information that should be coming from the server.

The scripts the website used to run or display the page is safe from being accessed by the user.

Related Questions