PS3Hax Network - Playstation 3 Hacks and Mods

PS3Hax Network - Playstation 3 Hacks and Mods (http://www.ps3hax.net/forums.php)
-   Off-Topic (http://www.ps3hax.net/forumdisplay.php?f=17)
-   -   JavaScripting (http://www.ps3hax.net/showthread.php?t=30571)

jvoytko 11-23-2011 01:05 PM

JavaScripting
 
Hey, you know how you can hide information inside HTML files by using something like:

##Hello!

How do you do the same thing but with JavaScript? I have my script wrote, I'm just trying to hide copyright information in it without anyone seeing it. Any suggestions?

zyddee 11-23-2011 01:14 PM

Quote:

Originally Posted by jvoytko (Post 289275)
Hey, you know how you can hide information inside HTML files by using something like:

##Hello!

How do you do the same thing but with JavaScript? I have my script wrote, I'm just trying to hide copyright information in it without anyone seeing it. Any suggestions?

Javascript:
// this is a hidden text.....

or

/**
* hidden
* text
*/

Html:
<!-- this is a hidden text.... -->
************* [ - Post Merged - ] *************
Btw, there is no way for u to HIDE the actuall text from beeing read by the user. thats because javascript is beeing executed on the webbrowser-side..

There is though javascript compressors that will remove spaces and linebreaks in your javascript and make it almost unreadable..

cheers!

jvoytko 11-23-2011 01:25 PM

Quote:

Originally Posted by zyddee (Post 289282)
Javascript:
// this is a hidden text.....

or

/**
* hidden
* text
*/

Html:
<!-- this is a hidden text.... -->
************* [ - Post Merged - ] *************
Btw, there is no way for u to HIDE the actuall text from beeing read by the user. thats because javascript is beeing executed on the webbrowser-side..

There is though javascript compressors that will remove spaces and linebreaks in your javascript and make it almost unreadable..

cheers!


I don't want to actually keep it from being read, just from being displayed by the browser. I used a lot of scripts in various websites I maintain for work but they are hidden right in the middle of the code and I don't know anything java that well other than installing the JRE and praying it works! lol

Thank you! :)

zyddee 11-23-2011 01:49 PM

remember that java & javascript is not the same thing

you're welcome :)


All times are GMT -5. The time now is 03:03 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.