PuneetKSaxena
asked on
Hide "View Source" in HTML
Hi,
I want to hide the "View Source" option in my HTML Page.
Is there any Java Script code which hides the "View Source" Option.
Thanks and Regards
Puneet
I want to hide the "View Source" option in my HTML Page.
Is there any Java Script code which hides the "View Source" Option.
Thanks and Regards
Puneet
Hi PuneetKSaxena,
In one word - "No". You can have a lot of method to make novice difficult to access your source code. But, you can't stop user scrapping the HTML source other third party tool.
You can see the previous thread that i asked long time ago, hope it give you some insight for this matter:
https://www.experts-exchange.com/questions/20784441/Impossible-To-Hide-HTML-Source.html
In one word - "No". You can have a lot of method to make novice difficult to access your source code. But, you can't stop user scrapping the HTML source other third party tool.
You can see the previous thread that i asked long time ago, hope it give you some insight for this matter:
https://www.experts-exchange.com/questions/20784441/Impossible-To-Hide-HTML-Source.html
ASKER
Hi,
In my case everything is building at runtime. XML is generated at run time and through XSL it is converted to HTML which is displayed in the browser, So i want some java script code to hide the view source option
Thanks
Puneet
In my case everything is building at runtime. XML is generated at run time and through XSL it is converted to HTML which is displayed in the browser, So i want some java script code to hide the view source option
Thanks
Puneet
Check this
http://www.jguru.com/faq/view.jsp?EID=444156
http://www.jguru.com/faq/view.jsp?EID=444156
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok..
http://www.htmlguardian.org/help_main.html