469,271 Members | 1,017 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

Cant view source

I saw a site that looked pretty good, but I could view the source.

2 questions:

1) how can I do the same for my site
2) any way to get around this?

Mike
Jul 23 '05 #1
15 2814
Michael Hill skrev 2004-09-10 18:06:
I saw a site that looked pretty good, but I could view the source.

2 questions:

1) how can I do the same for my site
2) any way to get around this?

Mike


I doubt there is anything that really works like that. What is the URL
to the site you looked at?

--
/Arne
Jul 23 '05 #2
On Fri, 10 Sep 2004 11:06:33 -0500, Michael Hill <hi****@charter.net>
wrote:
I saw a site that looked pretty good, but I could view the source.
I suspect you could NOT view the source, is that correct? I suspect yu
could, though you didn't know how.
2 questions:

1) how can I do the same for my site
2) any way to get around this?


http://www.vortex-webdesign.com/help/hidesource.htm
Jul 23 '05 #3
On Fri, 10 Sep 2004 14:07:52 -0400, Neal <ne*****@yahoo.com> wrote:
http://www.vortex-webdesign.com/help/hidesource.htm

Site seems to be down, here's the Google cache

http://216.239.39.104/search?q=cache...l+source&hl=en
Jul 23 '05 #4
Michael Hill wrote:
I saw a site that looked pretty good, but I could view the source.

2 questions:

1) how can I do the same for my site
You can't.
2) any way to get around this?


Yes. I can most likely explain how if you give the URL.
Jul 23 '05 #5
Well, sorry to bother evryone. I can see the source now....don't know what
was up

"Arne" <ar**@luras.nu> wrote in message
news:A2*********************@newsc.telia.net...
Michael Hill skrev 2004-09-10 18:06:
I saw a site that looked pretty good, but I could view the source.

2 questions:

1) how can I do the same for my site
2) any way to get around this?

Mike


I doubt there is anything that really works like that. What is the URL
to the site you looked at?

--
/Arne

Jul 23 '05 #6
Neal said the following on 10/09/2004 20:11:
On Fri, 10 Sep 2004 14:07:52 -0400, Neal <ne*****@yahoo.com> wrote:
http://www.vortex-webdesign.com/help/hidesource.htm


Site seems to be down, here's the Google cache

http://216.239.39.104/search?q=cache...l+source&hl=en


It's up again and I had a few laughs about it :)

It keeps wondering me that people really believe that HTML source can't
be viewed, while at the same time their browser is rendering the code.

--
Regards
Harrie
Jul 23 '05 #7
In message <10*************@corp.supernews.com>, Michael Hill
<hi****@charter.net> writes
I saw a site that looked pretty good, but I could view the source. 2 questions: 1) how can I do the same for my site
2) any way to get around this?


vgstrategies.about.com attempts to stop you looking at the page source
and also stops CTRL-C (text copy) from working.

It only seems to work in Internet Explorer, and appears to rely on this
<BODY> tag to do its evil work:

BODY onselectstart="return false" ondragstart="return false"
BGCOLOR="#ffffff" TEXT="#000000" LINK="#000090" VLINK="#000090">

Saving the page source from within IE, removing onselectstart="return
false" ondragstart="return false" with notepad, saving it, and reloading
the changed local file gets around the problem. Using another browser
such as Firefox is also a solution. :)

I don't think there is a fool-proof way to hide the page source. After
all, a browser will always need it to render the page.

Some of the Javascript scripts that encode pages and display them with
document.write()s are quite clever, and would probably stop most visors
seeing the source. Of course not everyone allows their browser to run
Javascript scripts. Do you really need to hide the source, though? I'm
sure most, if not all, of us 'borrow' ideas and tricks from elsewhere.
Shouldn't we be willing to share our knowledge?
--
Martin Jay
Jul 23 '05 #8
Martin Jay ma****@spam-free.org.uk wrote:
In message <10*************@corp.supernews.com>, Michael Hill
<hi****@charter.net> writes
I saw a site that looked pretty good, but I could view the source.

2 questions:

1) how can I do the same for my site
2) any way to get around this?


vgstrategies.about.com attempts to stop you looking at the page source
and also stops CTRL-C (text copy) from working.

It only seems to work in Internet Explorer, and appears to rely on this
<BODY> tag to do its evil work:

BODY onselectstart="return false" ondragstart="return false"
BGCOLOR="#ffffff" TEXT="#000000" LINK="#000090" VLINK="#000090">

Saving the page source from within IE, removing onselectstart="return
false" ondragstart="return false" with notepad, saving it, and reloading
the changed local file gets around the problem. Using another browser
such as Firefox is also a solution. :)

I don't think there is a fool-proof way to hide the page source. After
all, a browser will always need it to render the page.

Some of the Javascript scripts that encode pages and display them with
document.write()s are quite clever, and would probably stop most visors
seeing the source. Of course not everyone allows their browser to run
Javascript scripts. Do you really need to hide the source, though? I'm
sure most, if not all, of us 'borrow' ideas and tricks from elsewhere.
Shouldn't we be willing to share our knowledge?


How many people, who are that good that they've got something worth
hiding, won't have moved on by the time anyone gets around to copying
anything they've done? I'm quite happy with anyone copying anything I've
ever done, because the next site is going to be a whole load better.

--
eric
www.ericjarvis.co.uk
"live fast, die only if strictly necessary"
Jul 23 '05 #9
On Fri, 10 Sep 2004 11:06:33 -0500, "Michael Hill"
<hi****@charter.net> wrote:
I saw a site that looked pretty good, but I couldn't view the source.


At a guess, you were using IE and your cache was full (IE breaks at
this point).

Clear the cache and you should see it again.
--
Smert' spamionam
Jul 23 '05 #10
Martin Jay <ma****@spam-free.org.uk> wrote in
news:R3**************@onenet.org.uk:
I don't think there is a fool-proof way to hide the page source. After
all, a browser will always need it to render the page.
You are of course correct; a user just has to do the algorithm that the
browser uses, stopping just short of renderence.
Some of the Javascript scripts that encode pages and display them with
document.write()s are quite clever, and would probably stop most visors
seeing the source.
Most would be stopped by the fact that they're not Web authors and don't
care ;-)

Usually, such can have document.write("<textarea>"); put up front, and all
the source code becomes revealed. If not, it's because a </textarea> is at
the beginning of the hidden source. Even then, the to-be-document.written
string can always just be parsed and have &lt; and &gt; substituted in.
<textarea> also works on blocking ads for some free webhosting services.
Of course not everyone allows their browser to run
Javascript scripts. Do you really need to hide the source, though? I'm
sure most, if not all, of us 'borrow' ideas and tricks from elsewhere.
Shouldn't we be willing to share our knowledge?


I wonder if the following is true:
If one thinks he can hide his HTML source, then his HTML source is not
worth hiding.
Jul 23 '05 #11
"Michael Hill" <hi****@charter.net> wrote:
I saw a site that looked pretty good, but I could view the source.

2 questions:

1) how can I do the same for my site
2) any way to get around this?


Could you be more specific than "I could[n't] view the source"? Do you
mean:

1. You went blind.

2. The source appeared in white letters on a white background.

3. A view-source window came up but it was empty.

4. No view-source window opened.

5. The View Source command on the menu was grayed out.

6. Something else.

A couple of these are ridiculous, certainly, but the point is clear:
you want to ask why something happened, you have to be clear first on
*what happened*. Otherwise people can waste their time answering the
wrong question.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 23 '05 #12
On 11 Sep 2004 01:56:42 GMT, Sam Hughes <hu****@rpi.edu> declared in
comp.infosystems.www.authoring.html:
I wonder if the following is true:
If one thinks he can hide his HTML source, then his HTML source is not
worth hiding.


Also known as Froggie's Law: If you think you have to hide your source,
it's a sure bet you have nothing worth hiding.
http://www.allmyfaqs.com/faq.pl?Hide_source

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 23 '05 #13
Michael Hill wrote:
I saw a site that looked pretty good, but I could view the source.


Yeah, you can view the source of any web site. Unless you make a
screenshot of your site and publish only that. Then no one will be able
to view your source (however, you also got rid of many benefits of HTML
-- namely, that it can be flexibly interpreted by any client).

--
Google Blogoscoped
http://blog.outer-court.com
Jul 23 '05 #14
On Fri, 10 Sep 2004 11:06:33 -0500, Michael Hill <hi****@charter.net>
wrote:
I saw a site that looked pretty good, but I could view the source.


You know, this sentence does make sense.

I've wandered into sites that looked OK, and then I viewed the source and
saw it was held together with duct tape and wax, and I was lucky to get
there with the right browser at the right size...

If only the author could have hidden that source! I would have been a
happier man.
Jul 23 '05 #15
JRS: In article <Xn**************************@130.133.1.4>, dated Sat,
11 Sep 2004 01:56:42, seen in news:comp.infosystems.www.authoring.html,
Sam Hughes <hu****@rpi.edu> posted :

I wonder if the following is true:
If one thinks he can hide his HTML source, then his HTML source is not
worth hiding.


If one thinks he can hide his HTML source, then his HTML source needs to
be hidden, lest anyone else is naive enough to copy it.

Ask any policeman : much of what is hidden is hidden to prevent
incrimination rather than theft.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)
Jul 23 '05 #16

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Pete Wason | last post: by
7 posts views Thread by Lian | last post: by
4 posts views Thread by Beemer Biker | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.