Skip to content

Version 1.0.2

Latest
Compare
Choose a tag to compare
@optimalisatie optimalisatie released this 22 May 12:08
· 41 commits to master since this release

Encapsulated stylesheet.cssRules in try {} catch(e) {} to prevent permission error for external stylesheets. @albertopontalto

try {
    var rules = sheets[i].rules || sheets[i].cssRules;
} catch (e) {
    continue;
}