压缩:

YUI压缩工具 (http://developer.yahoo.com/yui/compressor/)

Dean Edwards Packer (http://dean.edwards.name/packer/)

JSMin (http://crockford.com/JavaScript/jsmin)

解压:

在线的 http://jsbeautifier.org/

image to base64:

http://www.greywyvern.com/code/php/binary2base64

 

将javascript文件压缩成PNG图像存储,好无语啊,貌似服务器开了gzip的效果差不多吧,很蛋疼的方案啊,不过玩一玩,用作变相加密还是可以的。

有地址http://www.nihilogic.dk/labs/canvascompress/

相关文章:

  • 2021-06-21
  • 2021-10-21
  • 2022-12-23
  • 2021-06-12
  • 2021-12-08
  • 2022-12-23
  • 2021-11-06
  • 2021-11-04
猜你喜欢
  • 2021-05-25
  • 2021-12-11
  • 2021-11-11
  • 2021-07-20
  • 2022-01-19
  • 2021-08-04
相关资源
相似解决方案