CORS with jQuery and XDomainRequest and IE7 - internet-explorer-7

Taking a look at CORS with jQuery and XDomainRequest in IE8/9
Is there way to support CORS with IE7?
(sadly we still need to support IE7 here!)

Nope. XDomainRequest is only available for IE8 and IE9. For browsers such as IE7, you would need to adopt some alternate means of cross-origin data retrieval, such as JSON-P, Flash or proxying through a server.

Related

Issue with cross-site tracking in safari (post-purchase)

We are having an issue with Shopify post-purchase where the extension isn't loading with shop-pay.
It works fine when disabling the "do not allow cross-site tracking" setting.
Does anyone know what this setting does, and how to get around it?
Thanks

Error http module of Angular 2

I'm developing an application for LG WebOS using Angular2, in Chrome and Firefox works fine but in TV embedded browser not works. This problem reproducing only when I using HTTP module
enter image description here
any solution?, Thanks.
Edited:
LG WebOS not support cookies, my solution was disable cookies from HTTP module of Angular2.
According to the image that you provided the cookie in the browser cannot be read. The issue might be that cookies are disabled in the embedded browser, or you are trying to access a module like localStorage that might not be available in the embedded browser.
This would explain why the calls do not work in all browsers.

HTTP images over HTTPS using angularjs

whenever I visit my angularjs based website that loads images (http images on a https server) I get warnings in the console saying that mixed content has been blocked. And those images do not show up
It is not my browser because it happens on other browsers too and on other systems, it is not the server, because another website that does not use angularjs works fine. So I think it is related to angularjs.
I already did this:
$sceDelegateProvider.resourceUrlWhitelist([
'self',
'http://images.RESOURCE.net/*'
]);
but it does not do anything. Moreover I tried loading them over a protocol-less url so //images.RESOURCE.net
This causes them to be loaded over https but then the server identify of the image server could not be validated and it also does not work.
Is there anyone who can determine the actual problem, is it angularjs and can angularjs fix it? It is almost impossible to remove angularjs from the project at the current state.
Thanks
-xCoder
This is not a limitation of Angular. Modern browsers block the loading of mixed (http) content over a secure (https) connection. This can be addressed by adjusting settings in your browser of choice.
Enabling Mixed Content by Browser:
IE: http://wiki.sln.suny.edu/display/SLNKB/Enabling+mixed+content+in+Internet+Explorer
Firefox: http://wiki.sln.suny.edu/display/SLNKB/Enabling+mixed+content+in+Mozilla+Firefox
Chrome: http://wiki.sln.suny.edu/display/SLNKB/Enabling+mixed+content+in+Google+Chrome

CORS angularjs file upload with IE8 support

I am seeking an easy and light weight way to upload a file to a REST API using CORS in IE 8. I am using the following plugin: angular-file-upload.
Since flash doesn't support custom headers using CORS,Which means that I cannot upload a file using CORS on IE 8.
I have opened an issue on github on this matter, but no luck so far.
Is there a workaround solution for flash to support custom header this??
Is there any other angular module(directive) for file upload which i can use for CORS fileupload which works in IE 8??
Any help will be appreciated.
Thanks

How to identify whether browser is supporting angularjs or not?

I need to identify if a browser supports the AngularJS.
Based on the result, I need to execute logic to call web pages. Old browsers like IE6 and IE7 do not support AngularJS. So one way to identify if a browser supports it, is by detecting the browser version/type, but I am looking for a more generic way to check support.
From angular's FAQ page
What browsers does Angular work with? We run our extensive test suite
against the following browsers: Safari, Chrome, Firefox, Opera, IE8,
IE9 and mobile browsers (Android, Chrome Mobile, iOS Safari). See
Internet Explorer Compatibility for more details in supporting legacy
IE browsers.
And the IE specifics cab be found here
If you'r looking for a angular.is_this_browser_supported() function, i doubt you'll find any.

Resources