I dont know the code to block the source but if you find out how or somebody knows how please e-mail me at

domo670@hotmail.com
thanks
all e-mails will be gladdly read

    will you all stop saying it is impossible to disable the view/source code. I know for a fact that it is not impossible it can be done i have seen it on other web pages.

      • [deleted]

      Right.. you keep believening that. You'll wake up sooner or later...

        You must have taken the blue pill instead of the red... in which case, in your world anything is possible. :-D
        BTW. If you know for a fact point us to a website or mabye show us some code. Hey I can wait 30 years or so before you give up. 🙂

          Domo, if you're so certain that you can do this because you've seen it done, just point us to those pages. I'll email you the source code.

          Why is it so hard to understand?

          -Ben

            • [deleted]

            I took both the red and the blue pill, does that make me a naughty boy?

              No it just means you are skitzofrenic. :-D

                • [deleted]

                I'm not! the little voices in my head tell me I'm not... and that guys who's following me around all the time will tell you I'm not...

                  Impossible, the best compromise I've found is to have loads of returns before the source code appears and when people view source they are confronted with a blank page. They will see the code if they scroll down, but I get a lot of emails asking me what I'm using to disable the source code. They are generally surprised too find out I'm not.

                    • [deleted]

                    Hehe.. so simple it hurts! :-)

                      Well, I'm sticking with my previous opioninion that it's not possible to hide the source.

                      But here's a site that does a great job of making it difficult:
                      http://www.june.com/frames.web and click on the link that says This week's special offer.

                      I guess they want to prevent leeches from getting their price lists.

                      Maybe they read my post from December...

                        Ok

                        I'm all with the not able to do this crowd however this is damn successful if you use IE and IE only far as I can tell.

                        Dunno what they do and can't be bothered finding out ... however this may be what everyone is on about when they say it can be done. Strange part about this is that I'm using netcaptor which is really just an addon to IE and i can view source ...

                        btw the page i'm referring to is
                        developer.netscape.com
                        If you use IE4+ to view it File Save and Save As are disabled, as is View Source and right click view source ... very comprehensive for not letting anyone view code ... pity for them it only works for IE ... then again it's the netscape site maybe thats the idea :-)

                          Alright... I have tried what you are saying (Make it known that I not only had to goto school to run Windows but actually crank up IE5.5 ... ugh the things I do for forums... 🙂 )and the source code was viewable and was saveable. Now... I will give you the benefit of the doubt... lets say there is a value you can set in Microsofts own little version of Javascript to "turn off" viewable. (I looked up the object model and there is a source paramater... dont know what it does but only in IE). Just turn off the javscript!! Its that simple. Bottom line anyone at anytime can read your source code online. You should not count on conveluting your HTML or something to protect your data, or variables etc.... You should design your scripts to do that!

                            10 days later

                            Actually, there is a way - for sensitive code you don't want displayed try using modal windows. It's not very hard. The file can still be accessed with some effort if you know the root area.

                              20 days later

                              Guys,

                              I hope you're still checking this thread... I stumbled on it through a google search.

                              Follow this link and you'll see a page with disabled view source:

                              http://download.consumptionjunction.com/multimedia/

                              I've wondered about this too. I looked into it and here's what I found...

                              I used a small program to make the page fetch request myself instead of having the browser make the request so I could examine the results. The return was just like any other page fetch, with one notable difference, the HTTP server didn't close the socket when it had finished sending the file. It sent all 14 bytes reported in the HTTP header, but when it was done, it didn't disconnect like a regular web server does.

                              Apparently IE stops spinning the progress indicator earth thingy b/c it knows it received all the bytes, but the cache file is still locked for writing (because we haven't disconnected yet) and thus you cannot view the source of a file locked for writing.

                              How they set this up on their webserver? No clue! It reported IIS 5.0 (Win 2k +)

                              Cheers,

                              • russ

                                As an addendum, I'd like to add that I've only seen this happen in IE.

                                The posters to this thread are cannot, you can't stop a determined person from reading your source. All they need to do is use a different browser.

                                However, the fact of the matter is that IE dominates the browser market, and a lot of people don't realize that there are ways around a disabled view source.

                                I don't know someone is supposed to get any answers here or anything accomplished with the arrogance and bashing that takes place.

                                • russ
                                  a month later

                                  Sorry guys, but this doesn't work either. Even though it doesn't show when you right click for source in the browser, just open with Netscape Composer and use "Tools" to edit the HTML and voila!
                                  <!doctype html public "-//w3c//dtd html 4.0 transitional//en">

                                  <head>
                                  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                                  <meta name="GENERATOR" content="Mozilla/4.75 [en]C-DIAL (Win98; U) [Netscape]">
                                  <title>multimedia</title>
                                  </head>
                                  <body>
                                  this is a test
                                  </body>

                                    Just view this site with a browser other than IE--voila, source!

                                      Write a Reply...