With Firefox exception is thrown in core1.2.4 li 3602.
A try/catch is needed up to Array.each block. That is:
try {
var rules = sheet.rules || sheet.cssRules;
...
to[style] = (value.test(/^rgb/)) ? value.rgbToHex() : value;
});
});
} catch (e) {}
sorry for the formatting...
Giuliano
1
vote
![](https://secure.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)