Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

IE8: Access is denied #50

Closed
Vyygir opened this issue Jul 7, 2014 · 8 comments
Closed

IE8: Access is denied #50

Vyygir opened this issue Jul 7, 2014 · 8 comments

Comments

@Vyygir
Copy link

Vyygir commented Jul 7, 2014

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.

@chuckcarpenter
Copy link
Owner

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

@Vyygir
Copy link
Author

Vyygir commented Jul 7, 2014

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.

@chuckcarpenter
Copy link
Owner

@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?

@Vyygir
Copy link
Author

Vyygir commented Jul 8, 2014

@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.

@Vyygir
Copy link
Author

Vyygir commented Jul 8, 2014

@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.

@chuckcarpenter
Copy link
Owner

Is there a reason to run the polyfill over that file? Why not just add the data-norem attribute?

@Vyygir
Copy link
Author

Vyygir commented Jul 8, 2014

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!

@chuckcarpenter
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants