fix for IE7 and protocol agnostic urls #140

wants to merge 1 commit into


None yet

2 participants


On IE7 only, the <link href="//same_domain/stylesheets/site.css"> element
will trigger a Cross-Domain permission denied error.
The code that will trigger the error is inside ajax(): "GET", url, true );

So, inside ripCSS(), i added a check. If the href starts with // then it should manually add the window.location.protocol before the actual href.

Bug fixed


I did not push the minified versions as, because i use uglifyjs, the final minified code was pretty different (though working) from the previous version.


Thanks! fixed in ab2c5f6

@scottjehl scottjehl closed this Nov 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment