Dark Knight Posted October 21, 2006 Share Posted October 21, 2006 hi, how can i disable the view source, so that my web's code cannot be viewed? Link to comment Share on other sites More sharing options...
smiles Posted October 21, 2006 Share Posted October 21, 2006 as far as I know , you can not disable view source that others cant seebut you can disable it in your computerI see it somewhere Link to comment Share on other sites More sharing options...
Akula_dude Posted October 21, 2006 Share Posted October 21, 2006 I believe it can be done through javascript, not sure how though. Link to comment Share on other sites More sharing options...
boen_robot Posted October 21, 2006 Share Posted October 21, 2006 hi, how can i disable the view source, so that my web's code cannot be viewed?You can't. Link to comment Share on other sites More sharing options...
Snubby Posted October 21, 2006 Share Posted October 21, 2006 on denvish.net he didn't disable it but its in a weird foreign code. Link to comment Share on other sites More sharing options...
boen_robot Posted October 21, 2006 Share Posted October 21, 2006 on denvish.net he didn't disable it but its in a weird foreign code.I don't see anything weird and foreign. It's a simple frameset. Link to comment Share on other sites More sharing options...
Jonas Posted October 21, 2006 Share Posted October 21, 2006 You can write all your code in javascript and scramble it, but it takes a lot of time and is not worth it, as there are programs or browser extensions that will give you the javascript's html output. Link to comment Share on other sites More sharing options...
justsomeguy Posted October 23, 2006 Share Posted October 23, 2006 hi, how can i disable the view source, so that my web's code cannot be viewed?I guarantee that you aren't putting anything online that someone else doesn't already know how to do. If you don't want someone to see what you are putting online, then don't put it online. Link to comment Share on other sites More sharing options...
Gesh Posted October 26, 2006 Share Posted October 26, 2006 hi, how can i disable the view source, so that my web's code cannot be viewed?I think you should use ASP becourse when a user wants to view the source, the browser will only display plain html no scripts will apearYou can not disable view source becourse it is a built in function. Link to comment Share on other sites More sharing options...
justsomeguy Posted October 26, 2006 Share Posted October 26, 2006 I think you should use ASP becourse when a user wants to view the source, the browser will only display plain html no scripts will apearThat's pretty pointless. If you need a server-side language, then you can use whichever one you want. If you don't even have a use for a server-side language, you can't use it to somehow hide your HTML code. He's asking about disabling a browser's View Source feature, which obviously shows the HTML/Javascript. You can't use ASP, or any other server-side language, to change that. Link to comment Share on other sites More sharing options...
croatiankid Posted October 27, 2006 Share Posted October 27, 2006 you'd have to modify the browser files, which is very uncomfortable. Link to comment Share on other sites More sharing options...
Skemcin Posted October 27, 2006 Share Posted October 27, 2006 if you could hide/disguise the source of a page to a point where the client would not at all be able to see it - then the browser would not be able to render it.the ONLY possible way you could do this is to have a client side plug in that removes the page source from cache (even memory cache) so that you are only left with what you see on the screen when the page was initially downloaded. But what would be point in that be.Even though javascript is a client side language, it would not be able to erase any code since the browser cannot execute the script until the page is being loaded, which means it is being written locally, which means there is a record of it.This quest is as useful as seeking a way to prevent people from "steeling" images.You can't starve yourself if you're eating a pork chop! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now