How would you reliably detect scene transitions in a video? The simplest case wouldn't be too hard, but sometimes it might be a fast moving scene, or there might be an effect like lightning that would throw it off.


Question: hide javascript/jquery scripts from html page?
Answer: Firebug can show obfuscation, and curl can get removed dom elements, while checking referrers can be faked.

The morale? Why try to even hide javascript? Include a short copyright notice and author information. If you want to hide it so an, say, authentication system cannot be hacked, consider strengthening the server-side so there are no open holes in server that are closed merely though javascript. Headers, and requests can easily be faked through curl or other tools.

If you really want to hide the javascript... don't use javascript. Use a complied langage of sorts (java applets, flash, activex) etc. (I wouldn't do this though, because it is not a very good option compared to native javascript).