Hi all,
I'd like to find a way to make a part of my code unreadable from users when
they look at the source of my web page.
It is possible ?
I thought of using document.write(a_crypted_unreadable_string)... is it a
good idea ?
In fact, the code I want to make unreadable should generate html.
Thanks in advance,
--
alex 11 2285
alex wrote: Hi all,
I'd like to find a way to make a part of my code unreadable from users when they look at the source of my web page. It is possible ? I thought of using document.write(a_crypted_unreadable_string)... is it a good idea ? In fact, the code I want to make unreadable should generate html.
Thanks in advance, -- alex
One's desire to hide the source code is inversly proportional to its
quality.
--
Vladdy http://www.klproductions.com
Vladdy wrote on 11 okt 2005 in comp.lang.javascript : alex wrote: I'd like to find a way to make a part of my code unreadable from users when they look at the source of my web page.
One's desire to hide the source code is inversly proportional to its quality.
So true,
but a simple advice could be given,
though highly ineffective but for restraining the most casual visitor.
Use an external jscript:
<script type='text/javascript' src='mySillySecret.js'></script>
This answers the OQ perfectly,
the page root wouldn't show the code at all. ;-)
In fact, the code I want to make unreadable should generate html.
It could.
However that html could be read pasting and using the IE command line:
javascript :alert(document.documentElement.outerHTM L)
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
> I'd like to find a way to make a part of my code unreadable from users when they look at the source of my web page. It is possible ? I thought of using document.write(a_crypted_unreadable_string)... is it a good idea ? In fact, the code I want to make unreadable should generate html.
Understand that nothing can be hidden from the person who is capable
of understanding and exploiting your code. a_crypted_unreadable_string
is the really bad idea.
The only thing that works is to unplug your server. Every other
technique to hide your code will fail. There is no point in doing
things that fail. Focus instead on things that succeed. http://www.crockford.com/javascript/jsmin.html
alex wrote on 11 okt 2005 in comp.lang.javascript : thank you !
Thank who?
This is usenet, do please quote to establish what and who you are
responding on or to.
Many are reading and the connection to the older posting is not available
to everyone.
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
"Evertjan." <ex**************@interxnl.net> a écrit dans le message de news:
Xn********************@194.109.133.242... alex wrote on 11 okt 2005 in comp.lang.javascript:
thank you !
Thank who?
This is usenet, do please quote to establish what and who you are responding on or to.
Many are reading and the connection to the older posting is not available to everyone.
-- Evertjan. The Netherlands. (Replace all crosses with dots in my emailaddress)
I meant thank you Evertjan.
--
alex
On 11 okt 2005, you wrote in comp.lang.javascript : "Evertjan." <ex**************@interxnl.net> a écrit dans le message de alex wrote on 11 okt 2005 in comp.lang.javascript:
> thank you ! Thank who?
[..] I meant thank you Evertjan.
Roger, roger ...
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
alex <al**@nospam.org> wrote in message news:43**********************@news.free.fr... Hi all,
I'd like to find a way to make a part of my code unreadable from users when they look at the source of my web page. It is possible ?
Of course it's possible; I come across it all the time. Just copy the layout of
the poorer code examples posted on here. In fact the more of a beginner
you are, the easier you should find it.
--
S.C.
"Stephen Chalmers" <ig******@lycos.co.uk> a écrit dans le message de news:
43**********@mk-nntp-2.news.uk.tiscali.com... alex <al**@nospam.org> wrote in message
news:43**********************@news.free.fr... Hi all,
I'd like to find a way to make a part of my code unreadable from users
when they look at the source of my web page. It is possible ?
Of course it's possible; I come across it all the time. Just copy the
layout of the poorer code examples posted on here. In fact the more of a beginner you are, the easier you should find it. -- S.C.
well... I didn't really get your piece of advice.
could you precise a little more ?
--
alex
alex <al**@nospam.org> wrote in message news:43***********************@news.free.fr... "Stephen Chalmers" <ig******@lycos.co.uk> a écrit dans le message de news: 43**********@mk-nntp-2.news.uk.tiscali.com... alex <al**@nospam.org> wrote in message news:43**********************@news.free.fr... Hi all,
I'd like to find a way to make a part of my code unreadable from users when they look at the source of my web page. It is possible ?
Of course it's possible; I come across it all the time. Just copy the
layout of the poorer code examples posted on here. In fact the more of a beginner you are, the easier you should find it. -- S.C. well... I didn't really get your piece of advice. could you precise a little more ?
So much of the code that one encounters is soo poorly laid-out that it would be
classed as unreadable, which is what you requested.
--
S.C.
"Stephen Chalmers" <ig******@lycos.co.uk> a écrit dans le message de news:
43**********@mk-nntp-2.news.uk.tiscali.com... alex <al**@nospam.org> wrote in message
news:43***********************@news.free.fr... "Stephen Chalmers" <ig******@lycos.co.uk> a écrit dans le message de
news: 43**********@mk-nntp-2.news.uk.tiscali.com... alex <al**@nospam.org> wrote in message news:43**********************@news.free.fr... > Hi all, > > I'd like to find a way to make a part of my code unreadable from
users when > they look at the source of my web page. > It is possible ?
Of course it's possible; I come across it all the time. Just copy the layout of the poorer code examples posted on here. In fact the more of a
beginner you are, the easier you should find it. -- S.C. well... I didn't really get your piece of advice. could you precise a little more ?
So much of the code that one encounters is soo poorly laid-out that it
would be classed as unreadable, which is what you requested.
-- S.C.
Ok, I'll try my best to produce the worst js code ever ;-) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mike B |
last post by:
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...
|
by: Mike M |
last post by:
Hi all,
Attempting to do css for cross platform/browser compatibility. Have an issue
with IE6 sp1 running on NT4.
When using IE6 sp1, example 1 works fine, example 2 produces unreadable
text....
|
by: Chris Lutz |
last post by:
i'm currently working on a windows xp machine with an
english visual studio .net 2003 environment. when i
connect to an oracle table using OracleClient-Objects
(Connection, DataAdapter, Command)...
|
by: 2G |
last post by:
Hi,
When I serialize a object using the binaryformatter and save it to a file,
the file contains some parts of unreadable junk.
Should I do some encoding on the bytearray or something before...
|
by: Maurizio BELLANTONE |
last post by:
When I select File | Print in order to print code results are unreadable: only header are ok, but code no.
Thank you.
(VS. NET 2003 Italian)
-- ...
|
by: Won Lee |
last post by:
I made my own from which is similiar to a MsgBox but allows for
positioning on the screen.
If I call the class from a button event it works fine.
The form, however, becomes unreadable if I call...
|
by: barbara_dave |
last post by:
Hi, all,
I'd like to know if there a way to make the text file unreadable. I
want the user to read file only in my program, but not allow to read
files from outside of my program. How to do...
|
by: tom.henricksen |
last post by:
We have a web page where application users are coping and pasting some
text from WordPerfect or MS Word. We have noticed some of the
characters are unreadable. These characters have special...
|
by: yogarajan |
last post by:
hi Friends
i want convert my javascript code to unreadable format
anyone know
pls help me
it is very urgent
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |