-
Notifications
You must be signed in to change notification settings - Fork 211
IE8: Access is denied #50
Comments
Without more info, my guess is you're having cross domain issues, since that's in the XHR portion of the script. If you're trying to run it on third party CDN hosted files then you might have issues. Have you looked at this issue thread? #47 |
Hi Chris Thanks for your response! The script is embedded within the web page itself and hosted on the same server using relative paths rather than absolute. Initially I thought the issue was because I was working locally (I use virtual hosts rather than the typical "localhost/{$dir}/" structure - e.g. "websitename.local"), so I uploaded it to our development server but it still remained. |
@Vyygir, it's not the script, but the location of the CSS files that would cause this cross origin issue. I can't really speak to your issue specifically without more information. Are you able to share your page? |
@chuckcarpenter Unfortunately I work on a white-label basis under strict NDA's, so I can't publicly release the code. I can however, if it's a possibility with you, send you an e-mail with any necessary details and a link to the web page to see if you can identify the issue? Please let me know. |
@chuckcarpenter It seems I had a clearer mind today that I did yesterday (must have been because it was a Monday!), so I've managed to fix the issue. However, the issue only occurs when the website has a social widget embed called "Rebel Mouse". Have you had any experience with this causing issues? If not, then I can tell the client they'll need to get in touch with Rebel Mouse and see if they have any fix ideas. Many thanks. |
Is there a reason to run the polyfill over that file? Why not just add the data-norem attribute? |
Hi Chris The widget is pulled through from an external script which then requests an external style sheet, so I'm not sure whether applying data-norem to the script tag would work. It may justs be a case of contacting the actual developers at Rebel Mouse and seeing if they have any ideas. Thanks for your time! |
I'd recommend forking and using something like this: #31 (comment) Cross domain support is a bit out of scope of what this was trying to solve. That said, if you've ideas or want to submit a pull request that did just that, I'd be happy to take a look. Closing, since it's a CORS issue. |
I've seen that you've got issues similar to this on the repository, but I'm having some mad problems with a project that I'm currently working on. The script is included before the closing tag, I've got the most up-to-date version, and IE8 is just throwing "Access is denied." on line 138 every single time.
I've added the site I'm working on to trusted sites in the security settings, which worked - but that's not a fix as much as a workaround for people who not what they're doing.
Any help with this would be very, very greatly appreciated.
The text was updated successfully, but these errors were encountered: