Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE8 error #73

Open
codeofsumit opened this issue Aug 7, 2013 · 2 comments
Open

IE8 error #73

codeofsumit opened this issue Aug 7, 2013 · 2 comments

Comments

@codeofsumit
Copy link

Getting an error "access denied"

selectivizr.js, Line 389

tested on IE10 (IE8 mode), Windows 7, jQuery 1.10.3, latest selectivizr (downloaded today)

// --[ loadStyleSheet() ]-----------------------------------------------
    function loadStyleSheet( url ) {
        xhr.open("GET", url, false); // This is the line that causes the error
        xhr.send();
        return (xhr.status==200) ? xhr.responseText : EMPTY_STRING; 
    };

Probably because i loaded the script locally, not sure though.

@htmlr
Copy link

htmlr commented Apr 4, 2014

I also get and Im not running it locally. My site is running over HTTPs

@KieranGreenwood
Copy link

KieranGreenwood commented Mar 20, 2017

What is the URL? When you say locally, is it http://localhost/... or file://...

From the homepage:

Style sheets MUST be hosted on the same domain as the page due to browser security restrictions. Likewise, style sheets loaded using the file: protocol will not work.

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

No branches or pull requests

3 participants