Overwhelmingly terrible idea. Routing your web site traffic through an entirely unknown third party server. Overwrite the global XMLHttpRequest object.
Please tell me this is a joke to show off terrible security practise?
Regrading overwriting XMLHttpRequest, if it works - it works, and if it breaks it can be improved, this is why it is open source.
It does not reroute your site traffic just your cross-origin site traffic, which practically does not exist without this library. Yes it can be used to do bad thing but also opens up the opportunity for mashups, external content integration, api calls and more.
You can only use JSOP and CROS with sites you have control over or are designed to behave and support external requests. It makes it very very limited!
It's possible, we just make it easier. This library also make it seamless (you can still use jQuery.ajax). They can use this library and just change the proxy url.
If you need to ask why it is bad to route traffic through an untrusted third party over HTTP, for the love of god stop building web applications. This is not the right tool for the problem it's trying to solve.
It only goes through our servers if it's cross-origin. Normal http same-origin requests are left intact (and you can see it in the code). It's stated on the README but perhaps it should be more apparent.
I'll probably never use this library for anything, but I've submitted a pull request that takes out their 3rd party proxy and merely suggests it in the error that is thrown if you don't define your own. https://github.com/TOMODOcom/TOMODOkorz/pull/1
[+] [-] untog|12 years ago|reply
Please tell me this is a joke to show off terrible security practise?
[+] [-] odedgolan|12 years ago|reply
[+] [-] Joe8Bit|12 years ago|reply
[+] [-] odedgolan|12 years ago|reply
[+] [-] drderidder|12 years ago|reply
[+] [-] odedgolan|12 years ago|reply
[+] [-] buzzedword|12 years ago|reply
[+] [-] necenzurat|12 years ago|reply
[deleted]
[+] [-] odedgolan|12 years ago|reply
[+] [-] Scriptor|12 years ago|reply
[+] [-] odedgolan|12 years ago|reply
[+] [-] Rami114|12 years ago|reply
[+] [-] odedgolan|12 years ago|reply
[+] [-] silasb|12 years ago|reply
[+] [-] odedgolan|12 years ago|reply
[+] [-] jscheel|12 years ago|reply
[+] [-] Couto|12 years ago|reply
[+] [-] odedgolan|12 years ago|reply
[+] [-] captn3m0|12 years ago|reply
[1]: https://gist.github.com/psychemedia/316660
[+] [-] necenzurat|12 years ago|reply
[deleted]