469,365 Members | 1,769 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Make source unreadable

How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?

TIA
Mike B
Jul 16 '05 #1
12 6779
> How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?


Not sure what that site you mention did, but theres certainly no easy and
reliable way to do it. The site source has to be visible otherwise the
browser could never load it - if the browser can read it it is always going
to be possible for a human to in some way or another (unless its Flash or a
Java applet or something similar).
You can make it more difficult just by writing the pages in a form that is
difficult for a human to read (ie no line breaks, no spaces where they
aren't needed, etc). They can easily get to it, but if its a big page and
all someone sees is a solid block of code then it can be off putting.
In my opinion though, you're wasting your time!

David
Jul 16 '05 #2
I'm guessing here, but I "believe" that people are putting javascript that
intercepts some of the IE commands. I know this is done to prevent saving
images and I'm guessing it can be done to prevent saving pages as well.
Anyone care to comment on this?

Jerry

"Mike B" <me***********@yahoo.com> wrote in message
news:70**************************@posting.google.c om...
How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?

TIA
Mike B

Jul 16 '05 #3


Mike B wrote:

How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?


URL?

Brian Rodenborn
Jul 16 '05 #4
In article <70**************************@posting.google.com >,
me***********@yahoo.com (Mike B) wrote:
How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank.


Not possible. Scroll down. All the way down. Some authors try to make
their source look "blank" by inserting a bunch of whitespace before the
markup. But it's not possible for your web browser to render what it can't
see. At a minimum, there's a line or two--though it's possible that it's
merely enough to call some other <img> , <object>, <script>, or <frame>.

--
CC
Jul 16 '05 #5

"JerryH" <no****@nowhere.com> wrote in message
news:yS********************@twister.austin.rr.com. ..
I'm guessing here, but I "believe" that people are putting javascript that
intercepts some of the IE commands. I know this is done to prevent saving
images and I'm guessing it can be done to prevent saving pages as well.
Anyone care to comment on this?

Jerry


Seen a few pages around that "try"to hide their HTML source by generating a
dialoge box that says not allowed on right click.

Is this what you are talking about ?

If so, it is still simple to circemvent. - simply go looking for the
temporary internet files on your hard drive, move them to a suitable folder
and open them with your favourite text editor. Se, not real hard was it ?

In reality, if it is html and it displays in the browser, you only slow down
someone from actually looking at the source and images within your page.
Bob in Aus



"Mike B" <me***********@yahoo.com> wrote in message
news:70**************************@posting.google.c om...
How do you make it source your source code is unreadable? I went to a
website and tried to look at their source, and it came up blank. I
then saved the file and got a message saying something about will not
save properly but i saved it anyways. when i went to pull it up it
was blank. i would like to do that to my site if possible!! could dy
ecplain to me how it was done?

TIA
Mike B


Jul 16 '05 #6
Thew website is Salesforce.com. I justed wanted to use their states
list information so I wouldn't have to type it in. I have a feeling
the person who said that java applets code couldn't be saved answered
my question of how they hid it. the page tag does say .jsp. Thanks
for everyones responses.

Mike B
Jul 16 '05 #7
> Thew website is Salesforce.com. I justed wanted to use their states
list information so I wouldn't have to type it in. I have a feeling
the person who said that java applets code couldn't be saved answered
my question of how they hid it. the page tag does say .jsp. Thanks
for everyones responses.


Can't find the bit with US states, but a similar list of all the countries
could be similar to what you are talking about. I looked at the source, and
it does appear blank, but you can scroll down and the code is all there,
with the dropdown items listed in <option></option> tags. I can't see any
java applets used for the dropdowns, and the .jsp is just an alternative
extension to indicate that javascript is used.
Hope that helps - just scroll down and it should be there, or if its not
provide the exact link to the page you are talking about and i'll have
another look.

David
Jul 16 '05 #8
me***********@yahoo.com (Mike B) wrote in message news:<70*************************@posting.google.c om>...
Thew website is Salesforce.com. I justed wanted to use their states
list information so I wouldn't have to type it in. I have a feeling
the person who said that java applets code couldn't be saved answered
my question of how they hid it. the page tag does say .jsp. Thanks
for everyones responses.


A .JSP page is a Java Server Page, another server side scripting
solution similar to PHP. The JSP code creates the HTML that is sent to
the browser. Note that JavaScript and Java are two unrelated languages
that confusingly share similar names.

You can protect HTML pages from most people by using JavaScript
encryption routines. If you Google for HTML Encrypt you'll find a few
that popup.

However, protecting HTML is unfair in my opinion. We have all honed
our skills by examining the source of other people's pages and
learning from them. I don't protect my HTML as it feels hypocritical
to steal from others but not allow others to steal from me. HTML has
limited commercial value to the author so why do it.

Paul
Jul 16 '05 #9
Mike B wrote:
Thew website is Salesforce.com. I justed wanted to use their states
list information so I wouldn't have to type it in. I have a feeling
the person who said that java applets code couldn't be saved answered
my question of how they hid it. the page tag does say .jsp. Thanks
for everyones responses.

Mike B


Hmm... I can view the source just fine in Mozilla, using both
View->Page Source and right-click. There's a few lines of whitespace at
the top, but not enough to push the code down a pull page...

~ Ryan

Jul 16 '05 #10
> with the dropdown items listed in <option></option> tags. I can't see any
java applets used for the dropdowns, and the .jsp is just an alternative
extension to indicate that javascript is used.


Oops - just realised that jsp indicated another server-side language is
used, not because of javascript.
Sorry for the confusion

David
Jul 16 '05 #11
Mike B wrote:
How do you make it source your source code is unreadable?


Why would you do that anyway ?

Bruno

Jul 16 '05 #12
pa*************@hotmail.com (Paul Liversidge) writes:
You can protect HTML pages from most people by using JavaScript
encryption routines. If you Google for HTML Encrypt you'll find a few
that popup.


Though they won't stop anyone actually determined to get at the
source, who can just modify the encryption routine slightly (for that
matter, I think there's a few browsers that will parse the JS before
displaying source), and will stop most if not all search engines as
well as users without Javascript.

--
Chris
Jul 16 '05 #13

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by toufik toufik | last post: by
5 posts views Thread by nnes | last post: by
354 posts views Thread by Montrose... | last post: by
18 posts views Thread by Lorem Ipsum | last post: by
1 post views Thread by Ellixis | last post: by
3 posts views Thread by Won Lee | last post: by
5 posts views Thread by barbara_dave | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.