View Full Version : Curiosity - Hide java script

06-05-2007, 12:55 PM
so I was looking at old post, with smilar Caption.

Not interested in disablig right click, .... !!!

During some other efforts I came acros the fact that In certain circumstances U can't see java script source code.

Here is how.

1. load java script dynamicaly via AJAX
2. loaded java script contains objects that have private functions
3. Havent been able to reveal the source code of these private functions.

Doe's anyone know how to do that, or which tool to use --just curious.

off topic - seen a time ago a post on this site about links to free images sites. If anyone could direct me. Thanks


06-05-2007, 01:37 PM
since javascript is usually viewed in SC (source code) you should probably read this thread
as for image hosts, photobucket, imageshack? there a bunch more out there, i believe an active member on this forum has made one too,

06-05-2007, 01:59 PM
Using AJAX won't help. See posts #39, #40, #42, and #44 at this link - http://www.********************/showthread.php?t=17499&page=4 Edit: Ha. Apparently links to other popular forums are blocked. Suffice it to say, that someone quickly read and posted some Ajax protected javascript.

Post #44 demonstrates how to get javascript that is hidden using AJAX.

Short answer - it is not possible to hide any code that must be rendered in a browser. Don't waste your time on this. No matter what you do to hide code, there is always going to be a programmer smarter than you that can undo it.