View Full Version : Eliminate the VIEW SOURCE option...
svtcobra808
11-30-2002, 02:24 AM
I've been to this one site that voids the option of us to be able to view the source of his page. Does anyone know anything about this and how can it be done? I would like to apply this to some of my pages.. just didn't know it was possible till i got to that site.
Thanx!
There's no need to "hide" you source with a simple script, because it's still accessible.
svtcobra808
11-30-2002, 12:57 PM
excuse my lack of information.... i know how cheesey it is scripting it from a right click... BUT, even clicking on View in the menu bar and click source doesn't work either. Thats what gets me... never seen this scripting to be able to disable that option from the browser menu.
...and to note, its not my browser settings either. If you interested, i can send you the site url PM wise if you feel thats not possible.:D
Dynasty
12-01-2002, 02:12 AM
I've seen sites that do stop the view source in the menu working too. But if you disable javascript there goes the stop generally :P
Swordfish
12-01-2002, 04:42 AM
Good Idea Dynasty :D
What is this website that your on about? URL?
svtcobra808
12-01-2002, 05:10 AM
This is the site I'm talking about... (http://www.forever-zero.com/)
cbkihong
12-01-2002, 07:31 AM
Probably this is browser-specific.
I don't have an IE on this machine (sorry this is not a Windows machine). I tried Mozilla, Opera and Konqueror and all displayed the source gracefully (By the way, the source doesn't look graceful anyway -- it's simply messy :D)
It seems prevention of source viewing ain't going to be that effective. There is no real way you can prevent people from seeing the sources if you know the sources definitely need to be downloaded to people's machine in order to display them in browsers.
Dynasty
12-01-2002, 10:58 AM
Disabling js still works :P
Zero Angel
12-01-2002, 12:14 PM
The only code that can really be hidden is *non-parsed* server side code. Downloading a .php .shtml or other server side file will force the server to parse it before sending.
Thus you can hide your implementation of the code, but not the code itself.
Dynasty
12-01-2002, 02:17 PM
You could be super paranoid about people stealing your code and just take a screenshot of your site, and upload the picture with links XD
Zero Angel
12-01-2002, 03:46 PM
I can see it now, a bunch of newbies taking your screenshot and moving stuff around with windows paint, then sending that .bmp to the server.
DCElliott
12-01-2002, 04:21 PM
Maybe people should just use BODY {display:hidden;} so people will ignore their page entirely. :OO
BoR|S
12-02-2002, 03:23 AM
Originally posted by svtcobra808
I've been to this one site that voids the option of us to be able to view the source of his page. Does anyone know anything about this and how can it be done? I would like to apply this to some of my pages.. just didn't know it was possible till i got to that site.
Thanx!
Bottom line, you can't, take a look here (http://developers.evrsoft.com/forum/showthread.php?s=&threadid=167) and here (http://developers.evrsoft.com/forum/showthread.php?s=&threadid=472).
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.