I am looking to confuse and minimize dynamically written javascript with ruby. Anyone have any suggestions? Some kind of Apache module that intercepts a .js file and obfuscates it before it is served will be ideal.
http://www.crockford.com/javascript/jsmin.rb
javascript minifier implemented in ruby.
Hope this helps ...