Respond
Respond copied to clipboard
respond proxy starts endless loop of popups when used cross-domain
My CSS is hosted on a CDN, so I need to use the cross-domain proxy for respond.js.
I have configured everything correctly.
- respond.min.js loaded locally
- respond-proxy.html link is on the CDN
- respond.proxy.gif link is local
- respond.proxy.js loaded locally
When running this in IE8 (Vista virtual machine using real IE8), I get an infinite loop of popup windows. The windows are opened so quickly and in such quantity that I cannot diagnose the issue. Has anyone seen this?
Specifically it looks like each new window opens this sort of URL:
http://www.mysite.com/#http://cdn.mysite.com/respond-proxy.html?url=http://www.mysite.com/respond-proxy.gif&css=http://cdn.mysite.com/something.css
Each time a URL like that is opened, it spawns another window.
Hoping someone out there has seen this behavior as it is really hard to troubleshoot. Oddly, I have a second virtual machine running WinXP and IE7 which properly loads the respond proxy css files from this very same site.
I'm seeing the exact same behavior.
Quick question, guys -- do you have a <base>
tag set by chance?
Experiencing the same issue - any ideas?
IE8 on XP virtual machine. In my case the new windows are all http://www.mysite.com/#http://www.mysite.com/respond-proxy.gif
Not not using a <base>
tag.
Related to #250
Seeing the same behavior. It looks to be doing this for all of the static assets.
I saw this issue when I incorrectly labeled the id tag on the respond.proxy.gif. Make sure your id and rel tags are correct on the assets (respond-proxy and respond-redirect).
I was having the same issue but found a workaround that at least worked in my case. Turns out it was because I changed the header "X-Frame-Options" from "SAMEORIGIN" to "DENY". Setting it back to "SAMEORIGIN" fixed it right back up.
Seeing the same problem today with version 1.4.2.
Very painful. Having the same issue here. Any ideas, how this can be solved?