Show HN: Include this JS library to enable cross-origin requests
11–20 of 33 posts
Re: Show HN: Include this JS library to enable cross-origin requests
#12How is this remotely trending? Yes, HN, let's vote a MITM attack to the frontpage. This is a terrible idea.
Re: Show HN: Include this JS library to enable cross-origin requests
#13Seems a cool idea to use with mockups and prototypes, but an awful idea to use in a serious product.
Re: Show HN: Include this JS library to enable cross-origin requests
#14Re: Show HN: Include this JS library to enable cross-origin requests
#15Routing all your x-domain requests through an unknown third part via vanilla HTTP? What could possibly go wrong?
Re: Show HN: Include this JS library to enable cross-origin requests
#16Please don't use this. JSONP and CORS are the accepted methods for cross origin requests.
Re: Show HN: Include this JS library to enable cross-origin requests
#17Seems a cool idea to use with mockups and prototypes, but an awful idea to use in a serious product.
Why? remember your product will function exactly the same. It just makes more thing possible.
Leaving my front door open when I'm on holiday also makes more things possible. That does not mean I will like those things.
Re: Show HN: Include this JS library to enable cross-origin requests
#18Overwhelmingly 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?
Re: Show HN: Include this JS library to enable cross-origin requests
#19Earlier quoted context omitted.
Why? remember your product will function exactly the same. It just makes more thing possible.
No, it will not function exactly the same, because it sends stuff through your server. That is a very important difference. Leaving my front door open when I'm on holiday also makes more things possible. That does not mean I will like those things.
But if you have a blog and you would like to constantly display some specific content from a different webpage via ajax it seems like the easiest & most simple solution.
Re: Show HN: Include this JS library to enable cross-origin requests
#20Please don't use this. JSONP and CORS are the accepted methods for cross origin requests.
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!
That's kind of the point.