By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,700 Members | 1,512 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,700 IT Pros & Developers. It's quick & easy.

what is the best way to hide javascript?

P: n/a
Other than not using them...?

Nov 4 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Lee
mi****@gmail.com said:
>
Other than not using them...?
Other than not using *what*?
That isn't even a complete sentence.
--

Nov 4 '07 #2

P: n/a
On Nov 5, 1:18 am, mic...@gmail.com wrote:
Other than not using them...?
Please don't assume that the subjec is visible or remembered when
others are replying to your post.

The "best way" depends on why you are trying to hide them in the first
place. If you just want to reduce the size of the HTML page, put
scripts in external files (a good practice in general).

If you want to stop others from downloading and viewing your scripts,
you can't:

<URL: http://www.jibbering.com/faq/#FAQ4_1 >
--
Rob

Nov 5 '07 #3

P: n/a
RobG wrote:
On Nov 5, 1:18 am, mic...@gmail.com wrote:
>Other than not using them...?

Please don't assume that the subjec is visible or remembered when
others are replying to your post.

The "best way" depends on why you are trying to hide them in the first
place. If you just want to reduce the size of the HTML page, put
scripts in external files (a good practice in general).

If you want to stop others from downloading and viewing your scripts,
you can't:

<URL: http://www.jibbering.com/faq/#FAQ4_1 >
--
Rob
Indeed. The best way is to make sure that the code is so bulky,
impenetrable and useless that no one would ever WANT to copy it.

Fortunately that is the case with 99% of sites anyway. And ultimately
javascript itself is such a dogs breakfaat that there is little
incentive to use it beyond the minimum anyway...
Nov 5 '07 #4

P: n/a
The Natural Philosopher said the following on 11/5/2007 8:23 AM:
RobG wrote:
>On Nov 5, 1:18 am, mic...@gmail.com wrote:
>>Other than not using them...?

Please don't assume that the subjec is visible or remembered when
others are replying to your post.

The "best way" depends on why you are trying to hide them in the first
place. If you just want to reduce the size of the HTML page, put
scripts in external files (a good practice in general).

If you want to stop others from downloading and viewing your scripts,
you can't:

<URL: http://www.jibbering.com/faq/#FAQ4_1 >
--
Rob
Indeed. The best way is to make sure that the code is so bulky,
impenetrable and useless that no one would ever WANT to copy it.

Fortunately that is the case with 99% of sites anyway. And ultimately
javascript itself is such a dogs breakfaat that there is little
incentive to use it beyond the minimum anyway...
There was a time when I thought your defense was that you were stupid.
Now, I realize your defense is that you are too stupid to know how
stupid you are.

Do you have nothing better to do than troll?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 5 '07 #5

P: n/a
Randy Webb wrote:
The Natural Philosopher said the following on 11/5/2007 8:23 AM:
>RobG wrote:
>>On Nov 5, 1:18 am, mic...@gmail.com wrote:
Other than not using them...?

Please don't assume that the subjec is visible or remembered when
others are replying to your post.

The "best way" depends on why you are trying to hide them in the first
place. If you just want to reduce the size of the HTML page, put
scripts in external files (a good practice in general).

If you want to stop others from downloading and viewing your scripts,
you can't:

<URL: http://www.jibbering.com/faq/#FAQ4_1 >
--
Rob
Indeed. The best way is to make sure that the code is so bulky,
impenetrable and useless that no one would ever WANT to copy it.

Fortunately that is the case with 99% of sites anyway. And ultimately
javascript itself is such a dogs breakfaat that there is little
incentive to use it beyond the minimum anyway...

There was a time when I thought your defense was that you were stupid.
Now, I realize your defense is that you are too stupid to know how
stupid you are.

Do you have nothing better to do than troll?
Not today, no. ;-)

Oh Great High Priest of Java Shit.

Anyway its your stupid fault for rising to the bait.

You ego wouldn't let you keep your silly mouth shut would it?

Third rate brains are all like that.
Nov 5 '07 #6

P: n/a
On Nov 4, 7:18 am, mic...@gmail.com wrote:
Other than not using them...?
Like RobG posted there is no way to hide JavaScripts used in web
pages.

I do find this entertaining...

<URL: http://davidgolightly.blogspot.com/2007/10/all-code-security-you-need.html>

Peter

Nov 5 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.