Disabling View Source or Save as..

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
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
 

ah-blabla

New Member
Messages
375
Reaction score
7
Points
0
Please have a look in

https://www.google.com/accounts/Login?hl=en&continue=http://www.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.
 
Top