4 ms·
A way to hide your Javascript. Introducing SauceJs.
- deletes 13y agoI'm no JS expert, but isn't this basically just server side code, since only "commands" are sent from the client and no meaningful code is executed.
- kennyr 13y agoPretty much, yeah. It looks the same as doing a $http() or $resource() call. But, if all you know is javascript, and you need something done in less time than it takes to delegate or learn a new language, and you need it done with some degree of secrecy, this is your tool.
- stonlyb 13y agoLike all tools, not for everyone or every scenario. It does suggest a way to make some of your code secret and easily reabsorb the results back into your scope.
- ch0wn 13y agoAnd thus will never work with CSPs (with a reasonable level of enforced rules).
- stonlyb 13y agoOne of the goals is to make it easy to take your existing client side code and port it over. Specifically, I wanted it to integrate back into the browsers environment without any extra effort.
- deletes 13y agoSo the idea is to hide just the important stuff.
- jeffehobbs 13y agoUggggggggggggh
- stonlyb 13y agopls share. im open to criticism.
- adamnemecek 13y agoRichard Stallman just had a heart attack.
- aclevernickname 13y agoI consider schemes such as this as a subtle attempt to kill the freedom and open nature of the web. It appears I'm not alone.