You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Haven't seen that in IE9 before... any chance you are testing locally (either by opening files directly in the browser or via a local webserver) and maybe running into some browser security or CORS issues? Do you have a dev site or some sample code I could see? Happy to take a look and help debug the issue.
IE8 doesn't support SVG so SVGInjector won't bother trying to do the XMLHttpRequest to get the SVG asset (it jumps right to trying PNG fallbacks, if configured).
Hey Bruno! So this is a CORS issue with IE9, like you said ;}. There is a pull request where we are working to add XDomainRequest support for IE9 to address this. I'll update this issue once that gets sorted.
Hi,
Hi, this excellent plugin works almost perfectly in my project, I'm only having problems to use SVGInjector in IE9.
My SVG files are hosted in Amazon S3 and the IE9 console displays this error:
SCRIPT5: Access is denied. (line 173)
The problem is that IE8 and IE9 don't support standard XMLHttpRequest (line 110).
I think that the problem can be solved using XDomainRequest for IE8 and IE9, based on this article: http://www.leggetter.co.uk/2010/03/12/making-cross-domain-javascript-requests-using-xmlhttprequest-or-xdomainrequest.html
Thank you very much!
The text was updated successfully, but these errors were encountered: