SMF For Free Support Forum
Signup For Free Forum
March 21, 2010, 10:26:54 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: How to make JavaScript codes harder to edit  (Read 2077 times)
0 Members and 1 Guest are viewing this topic.
Ravage™
SMF For Free Hero
*
Offline Offline

Posts: 557


Ravage Beast!


View Profile WWW
« on: March 25, 2008, 08:29:50 pm »

okay first off this was not made by me, im just explaining. If you want to make it harder to edit your JavaScript all you have to do is simply put your javascript in a word pad and save it as a
Code:
.js
. Then upload it to a file hoster and give this code to people
Code:
<script src='url of script'></script>

It's that easy!

*Note- It also saves space in your headers and footers.
« Last Edit: March 25, 2008, 08:31:33 pm by Ravage™ » Logged

-Sя.Sharp
SMF For Free Master
*
Offline Offline

Posts: 1032



View Profile WWW
« Reply #1 on: March 25, 2008, 08:57:58 pm »

So what this does is not reveal the javascript code? Little confused...can you explain a little more?
Logged

Celebrus
SMF For Free Hero
*
Offline Offline

Posts: 941



View Profile WWW
« Reply #2 on: March 25, 2008, 10:30:41 pm »

Hmmm... to make them harder to edit, I'd just compress them.
Logged

LaundryLady
Global Moderator
*
Offline Offline

Posts: 3230


Internet Challenged


View Profile
« Reply #3 on: March 26, 2008, 06:50:58 am »

This might be a little out there, but if you are making codes for people to use, why would you want to make them hard to edit?
Logged

Ravage™
SMF For Free Hero
*
Offline Offline

Posts: 557


Ravage Beast!


View Profile WWW
« Reply #4 on: March 26, 2008, 07:09:39 am »

well if you are making a code that you want to update constantly and they dont have to keep editing you just upload it, this is a great tool.
Logged

Celebrus
SMF For Free Hero
*
Offline Offline

Posts: 941



View Profile WWW
« Reply #5 on: March 26, 2008, 08:26:48 am »

This might be a little out there, but if you are making codes for people to use, why would you want to make them hard to edit?

This goes back to the days when webmasters used to jealously protect their codes. Many people don't want their codes to be edited, they don't want it to be possible to remove the copyright and stuff. But anyway, the compression thing is better because it saves bandwidth on the user side.

A combination of both would give you the benefit of both.
Logged

Ravage™
SMF For Free Hero
*
Offline Offline

Posts: 557


Ravage Beast!


View Profile WWW
« Reply #6 on: March 26, 2008, 08:30:17 am »

yeah, its really good for updating if you see what i mean Wink
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 13309



View Profile WWW
« Reply #7 on: March 26, 2008, 08:49:55 am »

This might be a little out there, but if you are making codes for people to use, why would you want to make them hard to edit?

This goes back to the days when webmasters used to jealously protect their codes. Many people don't want their codes to be edited, they don't want it to be possible to remove the copyright and stuff. But anyway, the compression thing is better because it saves bandwidth on the user side.

A combination of both would give you the benefit of both.

WAY back to the days  webmasters were not ALL that jealously protective in all honesty.   Lots has changed.

There is also a huge trend now towards either GPL (General Public License) or copywrong.     There is so much that is no longer free on the Internet and for me and many others the work we create is free for others to use,  free for them to manipulate, change, and distribute so long as they allow others to do the same with it, and do not make profit from it.   

Its called sharing.. a concept that seems to have gotten lost over time.
Logged

Ravage™
SMF For Free Hero
*
Offline Offline

Posts: 557


Ravage Beast!


View Profile WWW
« Reply #8 on: March 26, 2008, 08:53:08 am »

yeah but its also editable as sybil has said before.
Logged

Crasy
Global Moderator
*
Offline Offline

Posts: 3931


Semi-Retired ;)


View Profile WWW
« Reply #9 on: March 27, 2008, 08:33:41 am »

This might be a little out there, but if you are making codes for people to use, why would you want to make them hard to edit?

This goes back to the days when webmasters used to jealously protect their codes. Many people don't want their codes to be edited, they don't want it to be possible to remove the copyright and stuff. But anyway, the compression thing is better because it saves bandwidth on the user side.

A combination of both would give you the benefit of both.

WAY back to the days  webmasters were not ALL that jealously protective in all honesty.   Lots has changed.

There is also a huge trend now towards either GPL (General Public License) or copywrong.     There is so much that is no longer free on the Internet and for me and many others the work we create is free for others to use,  free for them to manipulate, change, and distribute so long as they allow others to do the same with it, and do not make profit from it.   

Its called sharing.. a concept that seems to have gotten lost over time.

Support Creative Commons
The latest trend in sharing and caring.
Logged

Did my answer help you? Want to help out hosting costs?


Every donation counts.


Pages: [1]
  Print  
 
Jump to:  



Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
ServerBeach Coupon
Page created in 0.468 seconds with 16 queries. (Pretty URLs adds 0.068s, 2q)