jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.12k stars 269 forks source link

Access is denied for xdomain.min.js #155

Closed pedrokost closed 9 years ago

pedrokost commented 9 years ago

In IE9, I receive

Access is denied

xdomain.min.js, line 3 character 5037

This is my proxy.html file

<!DOCTYPE HTML>
<script src="//cdn.rawgit.com/jpillora/xdomain/0.7.3/dist/xdomain.min.js"></script>
<script>
    xdomain.masters({
        'http://----.com': '/api/v1/*'
    });
 </script>

and this is where I define my slaves

<script src="//cdn.rawgit.com/jpillora/xdomain/0.7.3/dist/xdomain.min.js"></script>js
    <script>
    xdomain.slaves({
        'http://api.----.com': '/dashboard/proxy/'
    });
    </script>

What could be the problem?

jpillora commented 9 years ago

been through https://github.com/jpillora/xdomain#faq--troubleshooting?

pedrokost commented 9 years ago

This was actually an issue with Mixpanel tracker, which was solved with in another issue (https://github.com/jpillora/xdomain/issues/21#issuecomment-36479577).