selectivizr
selectivizr copied to clipboard
IE8 error
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.
I also get and Im not running it locally. My site is running over HTTPs
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.