How can I disable view source and page save as for HTML page?
How can I disable view source and page save as for HTML page?
you would not be able to disable view source because the source has to be able for the browser to read it and if the browser can read it, so can anyone else
Please have a look in
https://www.google.com/accounts/Logi....google.co.in/
Direct view source option is disabled here.
Not for me at least. I can view source pressing Ctrl+u, right click + view source, or Edit->View Source on FF.
As diabolo said you can't disable source viewing since the "source" is what is needed to render the page, so the client will at least have this in their cache on loading, even if the browser disallows viewing. You could code a browser which doesn't allow people to view the source, but no-one would then use that browser.